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

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

Issue 2117143003: Add a fast-path for independent inherited properties (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@computedstyle_cleanup_rename_final_member_fields
Patch Set: Added useful sizeof check comment Created 4 years, 5 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/css_properties.py
diff --git a/third_party/WebKit/Source/build/scripts/css_properties.py b/third_party/WebKit/Source/build/scripts/css_properties.py
index d4b7977bc3a0136beb8d8e02fc92492ceacd65e8..b105d86ac4c2ed2f8d6792037da84d97821f9a8f 100755
--- a/third_party/WebKit/Source/build/scripts/css_properties.py
+++ b/third_party/WebKit/Source/build/scripts/css_properties.py
@@ -15,12 +15,14 @@ class CSSProperties(in_generator.Writer):
'longhands': '',
'interpolable': False,
'inherited': False,
+ 'independent': False,
'font': False,
'svg': False,
'name_for_methods': None,
'use_handlers_for': None,
'getter': None,
'setter': None,
+ 'isInheritedSetter': None,
Timothy Loh 2016/07/19 01:29:31 Doesn't need to be here if it isn't set from the .
sashab 2016/07/19 03:31:34 Removed.
esprehn 2016/07/19 03:46:26 I think you want is_inherited_setter, but timloh@
'initial': None,
'type_name': None,
'converter': None,
@@ -40,6 +42,7 @@ class CSSProperties(in_generator.Writer):
valid_values = {
'interpolable': (True, False),
'inherited': (True, False),
+ 'independent': (True, False),
'font': (True, False),
'svg': (True, False),
'custom_all': (True, False),

Powered by Google App Engine
This is Rietveld 408576698