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

Unified Diff: third_party/WebKit/Source/build/scripts/make_css_value_keywords.py

Issue 1192983003: CSS Custom Properties (Variables) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Post-merge Created 5 years, 3 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/build/scripts/make_css_value_keywords.py
diff --git a/third_party/WebKit/Source/build/scripts/make_css_value_keywords.py b/third_party/WebKit/Source/build/scripts/make_css_value_keywords.py
index cbe89a498fa74e720e0848d1ec4e3d43f57312f1..afc6025479d82502ff9573588a89074b0feec9e1 100755
--- a/third_party/WebKit/Source/build/scripts/make_css_value_keywords.py
+++ b/third_party/WebKit/Source/build/scripts/make_css_value_keywords.py
@@ -112,7 +112,8 @@ class CSSValueKeywordsWriter(in_generator.Writer):
}
self._value_keywords = self.in_file.name_dictionaries
- first_property_id = 1
+ # We start with 2 to avoid CSSPropertyVariable
+ first_property_id = 2
Timothy Loh 2015/09/30 02:09:27 This shouldn't need to change?
for offset, property in enumerate(self._value_keywords):
property['lower_name'] = property['name'].lower()
property['enum_name'] = self._enum_name_from_value_keyword(property['name'])

Powered by Google App Engine
This is Rietveld 408576698