| Index: third_party/WebKit/Source/core/css/properties/CSSPropertyAPIOffsetAnchor.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/properties/CSSPropertyAPIOffsetAnchor.cpp b/third_party/WebKit/Source/core/css/properties/CSSPropertyAPIOffsetAnchor.cpp
|
| index cdf9b4a623cf753ebc7ce152bd52525bf04d0d59..edabdcc7233cb5d6e204a8df443f2a193e91c482 100644
|
| --- a/third_party/WebKit/Source/core/css/properties/CSSPropertyAPIOffsetAnchor.cpp
|
| +++ b/third_party/WebKit/Source/core/css/properties/CSSPropertyAPIOffsetAnchor.cpp
|
| @@ -18,8 +18,9 @@ const CSSValue* CSSPropertyAPIOffsetAnchor::parseSingleValue(
|
| CSSValueID id = range.Peek().Id();
|
| if (id == CSSValueAuto)
|
| return CSSPropertyParserHelpers::ConsumeIdent(range);
|
| - return ConsumePosition(range, context.Mode(),
|
| - CSSPropertyParserHelpers::UnitlessQuirk::kForbid);
|
| + auto syntax = CSSPropertyParserHelpers::PositionSyntax::kRejectThreeValues;
|
| + return ConsumePosition(
|
| + range, context, CSSPropertyParserHelpers::UnitlessQuirk::kForbid, syntax);
|
| }
|
|
|
| } // namespace blink
|
|
|