Index: third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp |
diff --git a/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp b/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp |
index c950d18cfd67fe13205178486dd22fef3104b2b3..c8221b8c75d4737a6d3f718991d62d55d20d49b0 100644 |
--- a/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp |
+++ b/third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp |
@@ -2109,6 +2109,8 @@ bool CSSPropertyParser::parseShorthand(CSSPropertyID unresolvedProperty, bool im |
// is disabled to match CSS 2.1 rules for parsing 'text-decoration'. |
if (RuntimeEnabledFeatures::css3TextDecorationsEnabled()) |
return consumeShorthandGreedily(textDecorationShorthand(), important); |
+ // TODO(rwlbuis): investigate if this shorthand hack can be removed. |
+ m_currentShorthand = oldShorthand; |
RefPtrWillBeRawPtr<CSSValue> textDecoration = consumeTextDecorationLine(m_range); |
if (!textDecoration || !m_range.atEnd()) |
return false; |