Index: third_party/WebKit/Source/core/css/properties/CSSPropertyAPIOffsetPosition.cpp |
diff --git a/third_party/WebKit/Source/core/css/properties/CSSPropertyAPIOffsetPosition.cpp b/third_party/WebKit/Source/core/css/properties/CSSPropertyAPIOffsetPosition.cpp |
index f3a59be6f4af1bd777a7f813fef79f216fb69169..89981212106960d3cacb0b360fc35d93b75601d1 100644 |
--- a/third_party/WebKit/Source/core/css/properties/CSSPropertyAPIOffsetPosition.cpp |
+++ b/third_party/WebKit/Source/core/css/properties/CSSPropertyAPIOffsetPosition.cpp |
@@ -18,8 +18,9 @@ const CSSValue* CSSPropertyAPIOffsetPosition::parseSingleValue( |
CSSValueID id = range.Peek().Id(); |
if (id == CSSValueAuto) |
return CSSPropertyParserHelpers::ConsumeIdent(range); |
+ auto syntax = CSSPropertyParserHelpers::PositionSyntax::kRejectThreeValues; |
CSSValue* value = CSSPropertyParserHelpers::ConsumePosition( |
- range, context.Mode(), CSSPropertyParserHelpers::UnitlessQuirk::kForbid); |
+ range, context, CSSPropertyParserHelpers::UnitlessQuirk::kForbid, syntax); |
// Count when we receive a valid position other than 'auto'. |
if (value && value->IsValuePair()) |