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

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

Issue 2220253002: [Typed-OM] Add Image typedom_types to properties and enable them to be set with StyleMap (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@CSSURLImageValue
Patch Set: Rebase Created 4 years, 4 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 99d96e03f6a18e02d65e51e5631e9de4cdef3673..ee57c747ad5afd23d0b43b66c68b4b95296a3db4 100755
--- a/third_party/WebKit/Source/build/scripts/make_cssom_types.py
+++ b/third_party/WebKit/Source/build/scripts/make_cssom_types.py
@@ -22,6 +22,8 @@ class CSSOMTypesWriter(css_properties.CSSProperties):
if singleType == 'Length':
types.append('SimpleLength')
types.append('CalcLength')
+ elif singleType == 'Image':
+ types.append('URLImage')
else:
types.append(singleType)
property['typedom_types'] = types
« no previous file with comments | « third_party/WebKit/LayoutTests/typedcssom/resources/1x1-green.png ('k') | third_party/WebKit/Source/core/css/CSSProperties.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698