summaryrefslogtreecommitdiffstats
path: root/theme-compiler/tests
diff options
context:
space:
mode:
authorHaijian Wang <haijian@vaadin.com>2013-02-14 13:33:34 +0200
committerHaijian Wang <haijian@vaadin.com>2013-02-14 13:33:34 +0200
commit51a9acc5d877a4c859fed9f7d58ffb6b8d4a31e7 (patch)
treefb1867195b98b18d8d7032829915f0ffdc1813f7 /theme-compiler/tests
parent9b37af6bfa2b1d15317f3d79890b2a609d935f7c (diff)
downloadvaadin-framework-51a9acc5d877a4c859fed9f7d58ffb6b8d4a31e7.tar.gz
vaadin-framework-51a9acc5d877a4c859fed9f7d58ffb6b8d4a31e7.zip
SASS fails to parse CSS expression function. (Ticket #9870)
Change-Id: Iea5f3b846a033e218c384dc58e5e045e524de83f
Diffstat (limited to 'theme-compiler/tests')
-rw-r--r--theme-compiler/tests/resources/automatic/css/expressions.css3
-rw-r--r--theme-compiler/tests/resources/automatic/scss/expressions.scss3
2 files changed, 6 insertions, 0 deletions
diff --git a/theme-compiler/tests/resources/automatic/css/expressions.css b/theme-compiler/tests/resources/automatic/css/expressions.css
new file mode 100644
index 0000000000..453502c21d
--- /dev/null
+++ b/theme-compiler/tests/resources/automatic/css/expressions.css
@@ -0,0 +1,3 @@
+.v-ie6 .v-window-modalitycurtain {
+ top: expression(document.documentElement.scrollTop + "px");
+} \ No newline at end of file
diff --git a/theme-compiler/tests/resources/automatic/scss/expressions.scss b/theme-compiler/tests/resources/automatic/scss/expressions.scss
new file mode 100644
index 0000000000..453502c21d
--- /dev/null
+++ b/theme-compiler/tests/resources/automatic/scss/expressions.scss
@@ -0,0 +1,3 @@
+.v-ie6 .v-window-modalitycurtain {
+ top: expression(document.documentElement.scrollTop + "px");
+} \ No newline at end of file