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 f0fb3cf80a337606b58d189a656e63a7acaf3002..2d066f050ef336ac5ad7a4cf1a1295273526d5ba 100644 |
--- a/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp |
+++ b/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp |
@@ -1846,6 +1846,10 @@ const CSSValue* ComputedStyleCSSValueMapping::get(CSSPropertyID propertyID, cons |
case CSSPropertyTabSize: |
return CSSPrimitiveValue::create( |
style.getTabSize().getPixelSize(1.0), style.getTabSize().isSpaces() ? CSSPrimitiveValue::UnitType::Number : CSSPrimitiveValue::UnitType::Pixels); |
+ case CSSPropertyTextSizeAdjust: |
+ if (style.getTextSizeAdjust().isAuto()) |
+ return CSSPrimitiveValue::createIdentifier(CSSValueAuto); |
+ return CSSPrimitiveValue::create(style.getTextSizeAdjust().multiplier() * 100, CSSPrimitiveValue::UnitType::Percentage); |
case CSSPropertyCursor: { |
CSSValueList* list = nullptr; |
CursorList* cursors = style.cursors(); |