зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1303623 - Part3. Parser changes. r=heycam
MozReview-Commit-ID: AQz596lVFnd --HG-- extra : rebase_source : 05763779146dbd91586317345b742a043730fb5c
This commit is contained in:
Родитель
f1d376b659
Коммит
118c327468
|
@ -416,7 +416,13 @@ Declaration::GetImageLayerValue(
|
|||
NS_STYLE_IMAGELAYER_CLIP_PADDING ==
|
||||
NS_STYLE_IMAGELAYER_ORIGIN_PADDING &&
|
||||
NS_STYLE_IMAGELAYER_CLIP_CONTENT ==
|
||||
NS_STYLE_IMAGELAYER_ORIGIN_CONTENT,
|
||||
NS_STYLE_IMAGELAYER_ORIGIN_CONTENT &&
|
||||
NS_STYLE_IMAGELAYER_CLIP_FILL ==
|
||||
NS_STYLE_IMAGELAYER_ORIGIN_FILL &&
|
||||
NS_STYLE_IMAGELAYER_CLIP_STROKE ==
|
||||
NS_STYLE_IMAGELAYER_ORIGIN_STROKE &&
|
||||
NS_STYLE_IMAGELAYER_CLIP_VIEW ==
|
||||
NS_STYLE_IMAGELAYER_ORIGIN_VIEW,
|
||||
"mask-clip and mask-origin style constants must agree");
|
||||
aValue.Append(char16_t(' '));
|
||||
origin->mValue.AppendToString(aTable[nsStyleImageLayers::origin], aValue,
|
||||
|
|
|
@ -12539,7 +12539,13 @@ CSSParserImpl::ParseImageLayersItem(
|
|||
NS_STYLE_IMAGELAYER_CLIP_PADDING ==
|
||||
NS_STYLE_IMAGELAYER_ORIGIN_PADDING &&
|
||||
NS_STYLE_IMAGELAYER_CLIP_CONTENT ==
|
||||
NS_STYLE_IMAGELAYER_ORIGIN_CONTENT,
|
||||
NS_STYLE_IMAGELAYER_ORIGIN_CONTENT &&
|
||||
NS_STYLE_IMAGELAYER_CLIP_FILL ==
|
||||
NS_STYLE_IMAGELAYER_ORIGIN_FILL &&
|
||||
NS_STYLE_IMAGELAYER_CLIP_STROKE ==
|
||||
NS_STYLE_IMAGELAYER_ORIGIN_STROKE &&
|
||||
NS_STYLE_IMAGELAYER_CLIP_VIEW ==
|
||||
NS_STYLE_IMAGELAYER_ORIGIN_VIEW,
|
||||
"bg-clip and bg-origin style constants must agree");
|
||||
|
||||
CSSParseResult result =
|
||||
|
|
Загрузка…
Ссылка в новой задаче