summaryrefslogtreecommitdiffstats
path: root/theme-compiler/tests
diff options
context:
space:
mode:
authorHenri Sara <hesara@vaadin.com>2012-11-30 10:22:48 +0200
committerHenri Sara <hesara@vaadin.com>2012-11-30 10:23:38 +0200
commit5b90327f4e8b519b5c24cbe9fa66d2127961f351 (patch)
tree1aaca80a4684b967de7d00451abc9856878e3853 /theme-compiler/tests
parent8dd5a84f508956c17e9f4da21c178cc7987abd9e (diff)
downloadvaadin-framework-5b90327f4e8b519b5c24cbe9fa66d2127961f351.tar.gz
vaadin-framework-5b90327f4e8b519b5c24cbe9fa66d2127961f351.zip
Support @if in @mixin (#10438)
Also adds support for @font-face and the (not yet implemented) @page. Change-Id: I65367121a71ac28c4b99d6b3ed7716e89cb132fa
Diffstat (limited to 'theme-compiler/tests')
-rw-r--r--theme-compiler/tests/resources/automatic/css/if_in_mixin.css3
-rw-r--r--theme-compiler/tests/resources/automatic/scss/if_in_mixin.scss9
2 files changed, 12 insertions, 0 deletions
diff --git a/theme-compiler/tests/resources/automatic/css/if_in_mixin.css b/theme-compiler/tests/resources/automatic/css/if_in_mixin.css
new file mode 100644
index 0000000000..c92bb7c47f
--- /dev/null
+++ b/theme-compiler/tests/resources/automatic/css/if_in_mixin.css
@@ -0,0 +1,3 @@
+.inif {
+ bar: baz;
+} \ No newline at end of file
diff --git a/theme-compiler/tests/resources/automatic/scss/if_in_mixin.scss b/theme-compiler/tests/resources/automatic/scss/if_in_mixin.scss
new file mode 100644
index 0000000000..397145d893
--- /dev/null
+++ b/theme-compiler/tests/resources/automatic/scss/if_in_mixin.scss
@@ -0,0 +1,9 @@
+@mixin foo {
+ @if (1 == 1) {
+ .inif {
+ bar: baz;
+ }
+ }
+}
+
+@include foo;