Index: third_party/WebKit/Source/build/scripts/make_style_builder.py |
diff --git a/third_party/WebKit/Source/build/scripts/make_style_builder.py b/third_party/WebKit/Source/build/scripts/make_style_builder.py |
index c5d5ca546fc202edd8a63c419f2ee7153b0b3ba1..1db728908137b0c1242498dfdb2e794e6ef8b6f9 100755 |
--- a/third_party/WebKit/Source/build/scripts/make_style_builder.py |
+++ b/third_party/WebKit/Source/build/scripts/make_style_builder.py |
@@ -59,11 +59,14 @@ class StyleBuilderWriter(css_properties.CSSProperties): |
set_if_none(property, 'type_name', 'E' + name) |
set_if_none(property, 'getter', lower_first(name) if simple_type_name != name else 'get' + name) |
set_if_none(property, 'setter', 'set' + name) |
+ set_if_none(property, 'inherited', False) |
set_if_none(property, 'initial', 'initial' + name) |
if property['custom_all']: |
property['custom_initial'] = True |
property['custom_inherit'] = True |
property['custom_value'] = True |
+ if property['inherited']: |
+ property['is_inherited_setter'] = 'set' + name + 'IsInherited' |
property['should_declare_functions'] = not property['use_handlers_for'] and not property['longhands'] \ |
and not property['direction_aware'] and not property['builder_skip'] \ |
and not property['descriptor_only'] |