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

Unified Diff: Source/build/scripts/templates/CSSShorthands.in.tmpl

Issue 216803002: Implement all shorthand property. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed parseAnimationProperty Created 6 years, 9 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: Source/build/scripts/templates/CSSShorthands.in.tmpl
diff --git a/Source/build/scripts/templates/CSSShorthands.in.tmpl b/Source/build/scripts/templates/CSSShorthands.in.tmpl
new file mode 100644
index 0000000000000000000000000000000000000000..9b46b8ad31cc87ae10fc9319c032da7229244cee
--- /dev/null
+++ b/Source/build/scripts/templates/CSSShorthands.in.tmpl
@@ -0,0 +1,8 @@
+{%- for property in properties %}
+{%- if property.runtimeEnabledShorthand %}
+{{property.name}} longhands={{property.longhands}}, runtimeEnabledShorthand={{property.runtimeEnabledShorthand}}
+{%- else %}
+{{property.name}} longhands={{property.longhands}}
+{%- endif %}
+{%- endfor %}
+all longhands={{all_longhands}}
Nils Barth (inactive) 2014/04/03 06:27:06 This can be: all longhands={{all_longhands | join(
tasak 2014/05/12 14:33:27 Done.

Powered by Google App Engine
This is Rietveld 408576698