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

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

Issue 2618553003: CSS Properties & Values API: Support <resolution> values (Closed)
Patch Set: Created 3 years, 11 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 813c6579b00b6d1111bdaeec0ad53531c5d8e89d..4dc999a0e4e6225c021bcea2f32c943897b21be5 100644
--- a/third_party/WebKit/Source/core/css/CSSSyntaxDescriptor.cpp
+++ b/third_party/WebKit/Source/core/css/CSSSyntaxDescriptor.cpp
@@ -165,7 +165,7 @@ const CSSValue* consumeSingleType(const CSSSyntaxComponent& syntax,
case CSSSyntaxType::Time:
return consumeTime(range, ValueRange::ValueRangeAll);
case CSSSyntaxType::Resolution:
- return nullptr; // TODO(timloh): Implement this.
+ return consumeResolution(range);
case CSSSyntaxType::TransformFunction:
return nullptr; // TODO(timloh): Implement this.
case CSSSyntaxType::CustomIdent:

Powered by Google App Engine
This is Rietveld 408576698