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

Unified Diff: third_party/WebKit/Source/core/css/parser/CSSPropertyParserHelpers.h

Issue 2898133002: CSS: Use count unitless 0 supplied as <angle> (Closed)
Patch Set: Optional 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/parser/CSSPropertyParserHelpers.h
diff --git a/third_party/WebKit/Source/core/css/parser/CSSPropertyParserHelpers.h b/third_party/WebKit/Source/core/css/parser/CSSPropertyParserHelpers.h
index 7c3259b9aa9766c434ab0c54a508681a36f5d7b6..738fac7dbe1b2ebf29210b58959a494badc7eb73 100644
--- a/third_party/WebKit/Source/core/css/parser/CSSPropertyParserHelpers.h
+++ b/third_party/WebKit/Source/core/css/parser/CSSPropertyParserHelpers.h
@@ -55,7 +55,12 @@ CSSPrimitiveValue* ConsumeLengthOrPercent(
CSSParserMode,
ValueRange,
UnitlessQuirk = UnitlessQuirk::kForbid);
-CSSPrimitiveValue* ConsumeAngle(CSSParserTokenRange&);
+
+CSSPrimitiveValue* ConsumeAngle(
+ CSSParserTokenRange&,
+ const CSSParserContext&,
+ UnitlessQuirk,
alancutter (OOO until 2018) 2017/05/25 01:53:16 UnitlessQuirk refers to numbers being interpreted
Eric Willigers 2017/05/25 02:56:41 Removed.
+ WTF::Optional<UseCounter::Feature> literalZeroFeature);
alancutter (OOO until 2018) 2017/05/25 01:53:16 s/literal/unitless/ here and in the description.
Eric Willigers 2017/05/25 02:56:41 Done.
CSSPrimitiveValue* ConsumeTime(CSSParserTokenRange&, ValueRange);
CSSPrimitiveValue* ConsumeResolution(CSSParserTokenRange&);

Powered by Google App Engine
This is Rietveld 408576698