| Index: Source/core/css/StylePropertySerializer.cpp
|
| diff --git a/Source/core/css/StylePropertySerializer.cpp b/Source/core/css/StylePropertySerializer.cpp
|
| index c132da45ddbc2c6dbeede66d8e29d865555f4c19..d987e9ed9918cf9bd59b2c4e7f117f8f89567f07 100644
|
| --- a/Source/core/css/StylePropertySerializer.cpp
|
| +++ b/Source/core/css/StylePropertySerializer.cpp
|
| @@ -86,6 +86,10 @@ String StylePropertySerializer::asText() const
|
| case CSSPropertyBackgroundRepeatY:
|
| repeatYPropertyIndex = n;
|
| continue;
|
| + case CSSPropertyContent:
|
| + if (property.value()->isValueList())
|
| + value = toCSSValueList(property.value())->customCssText(AlwaysQuoteCSSString);
|
| + break;
|
| case CSSPropertyBorderTopWidth:
|
| case CSSPropertyBorderRightWidth:
|
| case CSSPropertyBorderBottomWidth:
|
| @@ -215,8 +219,10 @@ String StylePropertySerializer::asText() const
|
| }
|
|
|
| if (!value.isNull()) {
|
| - propertyID = shorthandPropertyID;
|
| - shorthandPropertyUsed.set(shortPropertyIndex);
|
| + if (shorthandPropertyID) {
|
| + propertyID = shorthandPropertyID;
|
| + shorthandPropertyUsed.set(shortPropertyIndex);
|
| + }
|
| } else
|
| value = property.value()->cssText();
|
|
|
|
|