| Index: third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp b/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp
|
| index c2262b9e55127ffd155c225031147f7ce0ffcf65..bb044a34471639d4a9bbc36f096ed69d942b6bab 100644
|
| --- a/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp
|
| +++ b/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp
|
| @@ -2379,6 +2379,10 @@ PassRefPtrWillBeRawPtr<CSSValue> ComputedStyleCSSValueMapping::get(CSSPropertyID
|
| case CSSPropertyTextOrientation:
|
| return CSSPrimitiveValue::create(style.getTextOrientation());
|
| case CSSPropertyContent:
|
| + if (style.styleType() == PseudoIdNone)
|
| + return cssValuePool().createIdentifierValue(CSSValueNormal);
|
| + if (!style.hasContent() && (style.styleType() == PseudoIdBefore || style.styleType() == PseudoIdAfter))
|
| + return cssValuePool().createIdentifierValue(CSSValueNone);
|
| return valueForContentData(style);
|
| case CSSPropertyCounterIncrement:
|
| return valueForCounterDirectives(style, propertyID);
|
|
|