Chromium Code Reviews| Index: Source/core/css/CSSComputedStyleDeclaration.cpp |
| diff --git a/Source/core/css/CSSComputedStyleDeclaration.cpp b/Source/core/css/CSSComputedStyleDeclaration.cpp |
| index 1dc71f29cd2d8c39b5c356e2912ef5eb1d58c039..a085140fa55031a7a3fb250e203557c3e2fb18c7 100644 |
| --- a/Source/core/css/CSSComputedStyleDeclaration.cpp |
| +++ b/Source/core/css/CSSComputedStyleDeclaration.cpp |
| @@ -2253,14 +2253,12 @@ PassRefPtr<CSSValue> CSSComputedStyleDeclaration::getPropertyCSSValue(CSSPropert |
| } |
| case CSSPropertyTextIndent: { |
| RefPtr<CSSValue> textIndent = zoomAdjustedPixelValueForLength(style->textIndent(), style.get()); |
| -#if ENABLE(CSS3_TEXT) |
| - if (style->textIndentLine() == TextIndentEachLine) { |
| + if (RuntimeEnabledFeatures::css3TextEnabled() && style->textIndentLine() == TextIndentEachLine) { |
|
Julien - ping for review
2013/08/21 23:54:50
Let's keep in mind that we would like to test this
|
| RefPtr<CSSValueList> list = CSSValueList::createSpaceSeparated(); |
| list->append(textIndent.release()); |
| - list->append(cssValuePool().createIdentifierValue(CSSValueWebkitEachLine)); |
| + list->append(cssValuePool().createIdentifierValue(CSSValueEachLine)); |
| return list.release(); |
| } |
| -#endif |
| return textIndent.release(); |
| } |
| case CSSPropertyTextShadow: |