summaryrefslogtreecommitdiffstats
path: root/theme-compiler/tests/resources
diff options
context:
space:
mode:
authorJuho Nurminen <juho@vaadin.com>2013-08-23 10:03:53 +0300
committerVaadin Code Review <review@vaadin.com>2013-08-28 08:02:48 +0000
commita52b28650f219e6e36e7438c45db304b8315435f (patch)
tree52484b0a25a89b1bb0d40911ce8f53fcc23017ac /theme-compiler/tests/resources
parentb83240f9026489a241430e5d33ffbebdf93d14a5 (diff)
downloadvaadin-framework-a52b28650f219e6e36e7438c45db304b8315435f.tar.gz
vaadin-framework-a52b28650f219e6e36e7438c45db304b8315435f.zip
Added controlDirective to ifContentStatement. Fixes ticket #12105.
Change-Id: I48988c3f3451ff9fa86148f4bb923a2ebdb6c482
Diffstat (limited to 'theme-compiler/tests/resources')
-rw-r--r--theme-compiler/tests/resources/automatic/css/nested-if.css7
-rw-r--r--theme-compiler/tests/resources/automatic/scss/nested-if.scss19
2 files changed, 26 insertions, 0 deletions
diff --git a/theme-compiler/tests/resources/automatic/css/nested-if.css b/theme-compiler/tests/resources/automatic/css/nested-if.css
new file mode 100644
index 0000000000..4fffc83705
--- /dev/null
+++ b/theme-compiler/tests/resources/automatic/css/nested-if.css
@@ -0,0 +1,7 @@
+.foobar {
+ color: red;
+}
+
+.quux {
+ color: blue;
+} \ No newline at end of file
diff --git a/theme-compiler/tests/resources/automatic/scss/nested-if.scss b/theme-compiler/tests/resources/automatic/scss/nested-if.scss
new file mode 100644
index 0000000000..86c31f346b
--- /dev/null
+++ b/theme-compiler/tests/resources/automatic/scss/nested-if.scss
@@ -0,0 +1,19 @@
+@if 1==1 {
+ @if 1==1 {
+ .foobar {
+ color: red;
+ }
+ }
+}
+
+@if 1==1 {
+ .quux {
+ color: blue;
+ }
+
+ @if 1==0 {
+ .baz {
+ background: #f00;
+ }
+ }
+} \ No newline at end of file