From 28cb23f111782a2335a9eec47f93633e064d068d Mon Sep 17 00:00:00 2001 From: Haijian Wang Date: Tue, 12 Feb 2013 11:54:10 +0200 Subject: Referencing multiple params in multiple lines inside mixin (Ticket #10987) Change-Id: I3d97849afac763a9774cee254778e068f94a23e0 --- .../tests/resources/automatic/css/mixin-multiple-params.css | 4 ++++ .../tests/resources/automatic/scss/mixin-multiple-params.scss | 10 ++++++++++ 2 files changed, 14 insertions(+) create mode 100644 theme-compiler/tests/resources/automatic/css/mixin-multiple-params.css create mode 100644 theme-compiler/tests/resources/automatic/scss/mixin-multiple-params.scss (limited to 'theme-compiler/tests') 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 -- cgit v1.2.3