From a52b28650f219e6e36e7438c45db304b8315435f Mon Sep 17 00:00:00 2001 From: Juho Nurminen Date: Fri, 23 Aug 2013 10:03:53 +0300 Subject: Added controlDirective to ifContentStatement. Fixes ticket #12105. Change-Id: I48988c3f3451ff9fa86148f4bb923a2ebdb6c482 --- .../tests/resources/automatic/scss/nested-if.scss | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 theme-compiler/tests/resources/automatic/scss/nested-if.scss (limited to 'theme-compiler/tests/resources/automatic/scss') 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 -- cgit v1.2.3