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

Unified Diff: third_party/WebKit/Source/build/scripts/templates/CSSPropertyMetadata.cpp.tmpl

Issue 1581223003: Ensure that custom property declarations are treated as inherited (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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
« no previous file with comments | « third_party/WebKit/LayoutTests/fast/css/variables/recompute-variables-when-parent-style-updates.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/build/scripts/templates/CSSPropertyMetadata.cpp.tmpl
diff --git a/third_party/WebKit/Source/build/scripts/templates/CSSPropertyMetadata.cpp.tmpl b/third_party/WebKit/Source/build/scripts/templates/CSSPropertyMetadata.cpp.tmpl
index 1345fb787f937b09e92fe37deb249571521258a1..97f050626163245fc485303f5a825dde40a44877 100644
--- a/third_party/WebKit/Source/build/scripts/templates/CSSPropertyMetadata.cpp.tmpl
+++ b/third_party/WebKit/Source/build/scripts/templates/CSSPropertyMetadata.cpp.tmpl
@@ -18,6 +18,9 @@ bool CSSPropertyMetadata::{{function_name}}(CSSPropertyID property)
{% for property_id, property in properties.items() if property[flag] %}
case {{property_id}}:
{% endfor %}
+ {% if function_name == "isInheritedProperty" %}
+ case CSSPropertyVariable:
+ {% endif %}
return true;
default:
return false;
« no previous file with comments | « third_party/WebKit/LayoutTests/fast/css/variables/recompute-variables-when-parent-style-updates.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698