summaryrefslogtreecommitdiffstats
path: root/theme-compiler/tests
diff options
context:
space:
mode:
authorHenri Sara <hesara@vaadin.com>2013-02-12 14:43:11 +0000
committerVaadin Code Review <review@vaadin.com>2013-02-12 14:43:11 +0000
commit616d98c9719a3758f413d9ff43de612fc35d9881 (patch)
treedd9ee8e2c30474b35f2b6fd5e3b904b9628f87a7 /theme-compiler/tests
parentbe11c6dbbf6d9731fbdeb124116bada5fae6bc89 (diff)
parent28cb23f111782a2335a9eec47f93633e064d068d (diff)
downloadvaadin-framework-616d98c9719a3758f413d9ff43de612fc35d9881.tar.gz
vaadin-framework-616d98c9719a3758f413d9ff43de612fc35d9881.zip
Merge "Referencing multiple params in multiple lines inside mixin (Ticket #10987)" into 7.0
Diffstat (limited to 'theme-compiler/tests')
-rw-r--r--theme-compiler/tests/resources/automatic/css/mixin-multiple-params.css4
-rw-r--r--theme-compiler/tests/resources/automatic/scss/mixin-multiple-params.scss10
2 files changed, 14 insertions, 0 deletions
diff --git a/theme-compiler/tests/resources/automatic/css/mixin-multiple-params.css b/theme-compiler/tests/resources/automatic/css/mixin-multiple-params.css
new file mode 100644
index 0000000000..affb47896f
--- /dev/null
+++ b/theme-compiler/tests/resources/automatic/css/mixin-multiple-params.css
@@ -0,0 +1,4 @@
+-webkit-test: foo bar;
+-moz-test: foo bar;
+-webkit-test: foo bar zoo;
+-moz-test: foo bar zoo; \ No newline at end of file
diff --git a/theme-compiler/tests/resources/automatic/scss/mixin-multiple-params.scss b/theme-compiler/tests/resources/automatic/scss/mixin-multiple-params.scss
new file mode 100644
index 0000000000..2695ef9860
--- /dev/null
+++ b/theme-compiler/tests/resources/automatic/scss/mixin-multiple-params.scss
@@ -0,0 +1,10 @@
+@mixin test2 ($p1, $p2) {
+ -webkit-test: $p1 $p2;
+ -moz-test: $p1 $p2;
+}
+@mixin test3 ($p1, $p2, $p3) {
+ -webkit-test: $p1 $p2 $p3;
+ -moz-test: $p1 $p2 $p3;
+}
+@include test2(foo, bar);
+@include test3(foo, bar, zoo); \ No newline at end of file