Bug 700926. border-image-source css parsing. r=roc

This commit is contained in:
Nicholas Cameron 2014-01-31 16:36:42 +13:00
parent 5274ed1758
commit 7c3fa1f471
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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)