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

Unified Diff: third_party/WebKit/Source/core/css/CSSSyntaxDescriptor.cpp

Issue 2917573002: CSS Custom Properties: Angles do not support unitless 0 (Closed)
Patch Set: remove obsolete test 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/CSSSyntaxDescriptor.cpp
diff --git a/third_party/WebKit/Source/core/css/CSSSyntaxDescriptor.cpp b/third_party/WebKit/Source/core/css/CSSSyntaxDescriptor.cpp
index 0df2935a22def12a922c0bc1f5e26a0d39e74b1f..a7ad42544e3b61b7d462cc2acaec693c7be37e37 100644
--- a/third_party/WebKit/Source/core/css/CSSSyntaxDescriptor.cpp
+++ b/third_party/WebKit/Source/core/css/CSSSyntaxDescriptor.cpp
@@ -164,7 +164,7 @@ const CSSValue* ConsumeSingleType(const CSSSyntaxComponent& syntax,
return ConsumeInteger(range);
case CSSSyntaxType::kAngle:
return ConsumeAngle(range, *context,
- UseCounter::kUnitlessZeroAngleCustomProperty);
+ WTF::Optional<UseCounter::Feature>());
case CSSSyntaxType::kTime:
return ConsumeTime(range, ValueRange::kValueRangeAll);
case CSSSyntaxType::kResolution:

Powered by Google App Engine
This is Rietveld 408576698