mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-25 14:17:22 +00:00
Bug 807184 patch 2: Remove support for prefixed -moz-initial (in favor of unprefixed initial). r=dholbert
This commit is contained in:
parent
d34aaed0bf
commit
410072b2b2
@ -90,7 +90,6 @@ CSS_KEY(-moz-html-cellhighlight, _moz_html_cellhighlight)
|
|||||||
CSS_KEY(-moz-html-cellhighlighttext, _moz_html_cellhighlighttext)
|
CSS_KEY(-moz-html-cellhighlighttext, _moz_html_cellhighlighttext)
|
||||||
CSS_KEY(-moz-image-rect, _moz_image_rect)
|
CSS_KEY(-moz-image-rect, _moz_image_rect)
|
||||||
CSS_KEY(-moz-info, _moz_info)
|
CSS_KEY(-moz-info, _moz_info)
|
||||||
CSS_KEY(-moz-initial, _moz_initial)
|
|
||||||
CSS_KEY(-moz-inline-box, _moz_inline_box)
|
CSS_KEY(-moz-inline-box, _moz_inline_box)
|
||||||
CSS_KEY(-moz-inline-grid, _moz_inline_grid)
|
CSS_KEY(-moz-inline-grid, _moz_inline_grid)
|
||||||
CSS_KEY(-moz-inline-stack, _moz_inline_stack)
|
CSS_KEY(-moz-inline-stack, _moz_inline_stack)
|
||||||
|
@ -5169,8 +5169,7 @@ CSSParserImpl::ParseVariant(nsCSSValue& aValue,
|
|||||||
aValue.SetInheritValue();
|
aValue.SetInheritValue();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
else if (eCSSKeyword__moz_initial == keyword ||
|
else if (eCSSKeyword_initial == keyword) { // anything that can inherit can also take an initial val.
|
||||||
eCSSKeyword_initial == keyword) { // anything that can inherit can also take an initial val.
|
|
||||||
aValue.SetInitialValue();
|
aValue.SetInitialValue();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@ -6956,7 +6955,6 @@ CSSParserImpl::ParseBackgroundItem(CSSParserImpl::BackgroundParseState& aState)
|
|||||||
nsCSSKeyword keyword = nsCSSKeywords::LookupKeyword(mToken.mIdent);
|
nsCSSKeyword keyword = nsCSSKeywords::LookupKeyword(mToken.mIdent);
|
||||||
int32_t dummy;
|
int32_t dummy;
|
||||||
if (keyword == eCSSKeyword_inherit ||
|
if (keyword == eCSSKeyword_inherit ||
|
||||||
keyword == eCSSKeyword__moz_initial ||
|
|
||||||
keyword == eCSSKeyword_initial) {
|
keyword == eCSSKeyword_initial) {
|
||||||
return false;
|
return false;
|
||||||
} else if (keyword == eCSSKeyword_none) {
|
} else if (keyword == eCSSKeyword_none) {
|
||||||
@ -8353,7 +8351,6 @@ CSSParserImpl::ParseRect(nsCSSProperty aPropID)
|
|||||||
val.SetInheritValue();
|
val.SetInheritValue();
|
||||||
break;
|
break;
|
||||||
case eCSSKeyword_initial:
|
case eCSSKeyword_initial:
|
||||||
case eCSSKeyword__moz_initial:
|
|
||||||
if (!ExpectEndProperty()) {
|
if (!ExpectEndProperty()) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
@ -9064,7 +9061,7 @@ CSSParserImpl::ParseFamily(nsCSSValue& aValue)
|
|||||||
if (keyword == eCSSKeyword_default) {
|
if (keyword == eCSSKeyword_default) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (keyword == eCSSKeyword__moz_initial || keyword == eCSSKeyword_initial) {
|
if (keyword == eCSSKeyword_initial) {
|
||||||
aValue.SetInitialValue();
|
aValue.SetInitialValue();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@ -9093,7 +9090,6 @@ CSSParserImpl::ParseFamily(nsCSSValue& aValue)
|
|||||||
case eCSSKeyword_inherit:
|
case eCSSKeyword_inherit:
|
||||||
case eCSSKeyword_initial:
|
case eCSSKeyword_initial:
|
||||||
case eCSSKeyword_default:
|
case eCSSKeyword_default:
|
||||||
case eCSSKeyword__moz_initial:
|
|
||||||
case eCSSKeyword__moz_use_system_font:
|
case eCSSKeyword__moz_use_system_font:
|
||||||
return false;
|
return false;
|
||||||
default:
|
default:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user