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

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

Issue 2903413002: Restructure type tracking in StyleValues to work better with new numeric types (Closed)
Patch Set: rebase Created 3 years, 6 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_cssom_types.py
diff --git a/third_party/WebKit/Source/build/scripts/make_cssom_types.py b/third_party/WebKit/Source/build/scripts/make_cssom_types.py
index e9af6648e80802b8bbb45a4dbadafaebd4bdf7d5..8b1683183ee4ddf42d173ab92dbb0bfce151e9c1 100755
--- a/third_party/WebKit/Source/build/scripts/make_cssom_types.py
+++ b/third_party/WebKit/Source/build/scripts/make_cssom_types.py
@@ -25,10 +25,7 @@ class CSSOMTypesWriter(css_properties.CSSProperties):
types = []
# Expand types
for singleType in property['typedom_types']:
- if singleType == 'Length':
- types.append('SimpleLength')
- types.append('CalcLength')
- elif singleType == 'Image':
+ if singleType == 'Image':
types.append('URLImage')
else:
types.append(singleType)

Powered by Google App Engine
This is Rietveld 408576698