| 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 fec10203173ff8cebf0275591c6d2c04a838e830..b80fcb869d8d85f524fc2adb4951684aea6834b0 100644
|
| --- a/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp
|
| +++ b/third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp
|
| @@ -1121,6 +1121,18 @@ static CSSValue* valueForTextDecorationStyle(
|
| return CSSInitialValue::create();
|
| }
|
|
|
| +static CSSValue* valueForTextDecorationSkip(
|
| + TextDecorationSkip textDecorationSkip) {
|
| + CSSValueList* list = CSSValueList::createSpaceSeparated();
|
| + if (textDecorationSkip & TextDecorationSkipObjects)
|
| + list->append(*CSSIdentifierValue::create(CSSValueObjects));
|
| + if (textDecorationSkip & TextDecorationSkipInk)
|
| + list->append(*CSSIdentifierValue::create(CSSValueInk));
|
| +
|
| + DCHECK(list->length());
|
| + return list;
|
| +}
|
| +
|
| static CSSValue* touchActionFlagsToCSSValue(TouchAction touchAction) {
|
| CSSValueList* list = CSSValueList::createSpaceSeparated();
|
| if (touchAction == TouchActionAuto) {
|
| @@ -2674,6 +2686,8 @@ const CSSValue* ComputedStyleCSSValueMapping::get(
|
| // Fall through.
|
| case CSSPropertyTextDecorationLine:
|
| return renderTextDecorationFlagsToCSSValue(style.getTextDecoration());
|
| + case CSSPropertyTextDecorationSkip:
|
| + return valueForTextDecorationSkip(style.getTextDecorationSkip());
|
| case CSSPropertyTextDecorationStyle:
|
| return valueForTextDecorationStyle(style.getTextDecorationStyle());
|
| case CSSPropertyTextDecorationColor:
|
|
|