Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(165)

Unified Diff: third_party/WebKit/Source/core/css/properties/CSSPropertyAPIOffsetAnchor.cpp

Issue 2888283006: CSS: Use count position values with 3 parts (Closed)
Patch Set: distinct use counters Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..122d507fafb9e6331201f26666450f45b8c2662f 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);
+ return ConsumePosition(range, context,
+ CSSPropertyParserHelpers::UnitlessQuirk::kForbid,
+ CSSPropertyParserHelpers::PositionSyntax::kCurrent);
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698