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

Unified Diff: third_party/WebKit/Source/core/css/parser/LegacyCSSPropertyParser.cpp

Issue 1835303002: Implementation of the GreenWeb language extensions. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Change GreenWeb-related CSS property names such that they apply in the desired order at runtime. Created 4 years, 9 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/LegacyCSSPropertyParser.cpp
diff --git a/third_party/WebKit/Source/core/css/parser/LegacyCSSPropertyParser.cpp b/third_party/WebKit/Source/core/css/parser/LegacyCSSPropertyParser.cpp
index 15bb12783793ade24b77d430b0ac983d54952504..6a2048622176290a6f0f9a24e47009d97441d62e 100644
--- a/third_party/WebKit/Source/core/css/parser/LegacyCSSPropertyParser.cpp
+++ b/third_party/WebKit/Source/core/css/parser/LegacyCSSPropertyParser.cpp
@@ -395,6 +395,18 @@ bool CSSPropertyParser::parseValue(CSSPropertyID unresolvedProperty, bool import
Units unitless = FUnknown;
switch (propId) {
+ case CSSPropertyOnclickVpi:
+ case CSSPropertyOnclickVpu:
+ case CSSPropertyOnscrollVpi:
+ case CSSPropertyOnscrollVpu:
+ case CSSPropertyOntouchstartVpi:
+ case CSSPropertyOntouchstartVpu:
+ case CSSPropertyOntouchendVpi:
+ case CSSPropertyOntouchendVpu:
+ case CSSPropertyOntouchmoveVpi:
+ case CSSPropertyOntouchmoveVpu:
+ validPrimitive = validUnit(value, FInteger);
+ break;
case CSSPropertyContent: // [ <string> | <uri> | <counter> | attr(X) | open-quote |
// close-quote | no-open-quote | no-close-quote ]+ | inherit
parsedValue = parseContent();

Powered by Google App Engine
This is Rietveld 408576698