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

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

Issue 1386733003: Do not accept CSS-wide keywords for descriptors (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Patch for landing Created 4 years, 7 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_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 1e81ac22acf7db0d2b39a5a5f17cc5d9548695c5..c5d5ca546fc202edd8a63c419f2ee7153b0b3ba1 100755
--- a/third_party/WebKit/Source/build/scripts/make_style_builder.py
+++ b/third_party/WebKit/Source/build/scripts/make_style_builder.py
@@ -65,7 +65,8 @@ class StyleBuilderWriter(css_properties.CSSProperties):
property['custom_inherit'] = True
property['custom_value'] = True
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['direction_aware'] and not property['builder_skip'] \
+ and not property['descriptor_only']
@template_expander.use_jinja('StyleBuilderFunctions.h.tmpl',
filters=filters)

Powered by Google App Engine
This is Rietveld 408576698