diff options
author | joheriks <joheriks@vaadin.com> | 2013-10-28 17:06:23 +0200 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2013-11-05 09:16:07 +0000 |
commit | a2f255448e6a755892a97b7df9fc2b65efc5dccc (patch) | |
tree | e3236ac1462d74d6188e1d929a2a7f3d767de355 /theme-compiler/tests/resources | |
parent | f8da9267bf223b516a3ec7d1ee0c782a6b3f6fdb (diff) | |
download | vaadin-framework-a2f255448e6a755892a97b7df9fc2b65efc5dccc.tar.gz vaadin-framework-a2f255448e6a755892a97b7df9fc2b65efc5dccc.zip |
Allow @font-face and general @-directives inside @if-blocks (#11649)
Change-Id: Ifa844e7bf8add886792b39c016cc2c9aa3d94b0c
Diffstat (limited to 'theme-compiler/tests/resources')
-rw-r--r-- | theme-compiler/tests/resources/automatic/css/at-directive-in-if.css | 1 | ||||
-rw-r--r-- | theme-compiler/tests/resources/automatic/scss/at-directive-in-if.scss | 8 |
2 files changed, 9 insertions, 0 deletions
diff --git a/theme-compiler/tests/resources/automatic/css/at-directive-in-if.css b/theme-compiler/tests/resources/automatic/css/at-directive-in-if.css new file mode 100644 index 0000000000..80d4821ead --- /dev/null +++ b/theme-compiler/tests/resources/automatic/css/at-directive-in-if.css @@ -0,0 +1 @@ +@font-face {}
\ No newline at end of file diff --git a/theme-compiler/tests/resources/automatic/scss/at-directive-in-if.scss b/theme-compiler/tests/resources/automatic/scss/at-directive-in-if.scss new file mode 100644 index 0000000000..30556fb382 --- /dev/null +++ b/theme-compiler/tests/resources/automatic/scss/at-directive-in-if.scss @@ -0,0 +1,8 @@ +@mixin test($italic: true) { + @if $italic { + @font-face { + } + } +} + +@include test;
\ No newline at end of file |