Index: Source/build/scripts/templates/MediaFeatures.h.tmpl |
diff --git a/Source/build/scripts/templates/MediaFeatures.h.tmpl b/Source/build/scripts/templates/MediaFeatures.h.tmpl |
new file mode 100644 |
index 0000000000000000000000000000000000000000..224e7d07efaf279a7e1420f3621d7669cf9d50b8 |
--- /dev/null |
+++ b/Source/build/scripts/templates/MediaFeatures.h.tmpl |
@@ -0,0 +1,12 @@ |
+{% from "macros.tmpl" import license -%} |
+{{ license() }} |
+ |
+#ifndef MediaFeatures_h |
+#define MediaFeatures_h |
+ |
+#define CSS_MEDIAQUERY_NAMES_FOR_EACH_MEDIAFEATURE(macro) \ |
+{%- for entry in entries %} |
+ macro({{entry|symbol}}) {%- if not loop.last %}\{%-endif %} |
+{%- endfor %} |
+ |
+#endif |