mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 15:52:07 +00:00
Bug 700926. border-image-source css parsing. r=roc
This commit is contained in:
parent
5274ed1758
commit
7c3fa1f471
@ -9062,7 +9062,7 @@ CSSParserImpl::ParseBorderImage()
|
||||
nsCSSValue imageSourceValue;
|
||||
while (!CheckEndProperty()) {
|
||||
// <border-image-source>
|
||||
if (!foundSource && ParseVariant(imageSourceValue, VARIANT_UO, nullptr)) {
|
||||
if (!foundSource && ParseVariant(imageSourceValue, VARIANT_IMAGE, nullptr)) {
|
||||
AppendValue(eCSSProperty_border_image_source, imageSourceValue);
|
||||
foundSource = true;
|
||||
continue;
|
||||
|
@ -784,7 +784,7 @@ CSS_PROP_BORDER(
|
||||
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER |
|
||||
CSS_PROPERTY_START_IMAGE_LOADS,
|
||||
"",
|
||||
VARIANT_HUO,
|
||||
VARIANT_IMAGE | VARIANT_INHERIT,
|
||||
nullptr,
|
||||
CSS_PROP_NO_OFFSET,
|
||||
eStyleAnimType_None)
|
||||
|
Loading…
Reference in New Issue
Block a user