summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorHenri Sara <hesara@vaadin.com>2012-08-09 12:29:27 +0300
committerHenri Sara <hesara@vaadin.com>2012-08-09 12:29:27 +0300
commit56489f5e8c537f45a4933db0affedcf827f78809 (patch)
treeb8ca4cad3d81e6673a6ad1794362342af8ebf0e2 /tests
parentf0f857817670a0ce95da5178bf86d1725a654eed (diff)
downloadvaadin-framework-56489f5e8c537f45a4933db0affedcf827f78809.tar.gz
vaadin-framework-56489f5e8c537f45a4933db0affedcf827f78809.zip
Refactor SASS tests: split off Microsoft extensions test (#9223)
Diffstat (limited to 'tests')
-rw-r--r--tests/sass/resources/basic/reindeer.css14
-rw-r--r--tests/sass/resources/css/microsoft-extensions.css6
-rw-r--r--tests/sass/resources/scss/microsoft-extensions.scss6
-rw-r--r--tests/sass/src/com/vaadin/sass/testcases/scss/MicrosoftExtensions.java22
4 files changed, 34 insertions, 14 deletions
diff --git a/tests/sass/resources/basic/reindeer.css b/tests/sass/resources/basic/reindeer.css
index e32d917b49..4f1cd47193 100644
--- a/tests/sass/resources/basic/reindeer.css
+++ b/tests/sass/resources/basic/reindeer.css
@@ -1353,13 +1353,6 @@ div.v-progressindicator-indeterminate-disabled {
display: none;
}
-.v-ie6 .v-shadow {
- background: #000000;
- filter: progid:DXImageTransform.Microsoft.Blur(pixelRadius=2 ) alpha(opacity = 20);
- margin-top: -2px;
- margin-left: -2px;
-}
-
.v-slider {
margin: 5px 0;
}
@@ -2518,13 +2511,6 @@ div.v-window-header {
display: none;
}
-.v-ie6 .v-shadow-window {
- background: #000000;
- filter: progid:DXImageTransform.Microsoft.Blur(pixelRadius=5 ) alpha(opacity = 20);
- margin-top: 2px;
- margin-left: 2px;
-}
-
.v-accordion {
border: 1px solid #bebebe;
border-radius: 2px;
diff --git a/tests/sass/resources/css/microsoft-extensions.css b/tests/sass/resources/css/microsoft-extensions.css
new file mode 100644
index 0000000000..69670969de
--- /dev/null
+++ b/tests/sass/resources/css/microsoft-extensions.css
@@ -0,0 +1,6 @@
+.v-ie6 .v-shadow-window {
+ background: #000000;
+ filter: progid:DXImageTransform.Microsoft.Blur(pixelRadius=5 ) alpha(opacity = 20);
+ margin-top: 2px;
+ margin-left: 2px;
+}
diff --git a/tests/sass/resources/scss/microsoft-extensions.scss b/tests/sass/resources/scss/microsoft-extensions.scss
new file mode 100644
index 0000000000..69670969de
--- /dev/null
+++ b/tests/sass/resources/scss/microsoft-extensions.scss
@@ -0,0 +1,6 @@
+.v-ie6 .v-shadow-window {
+ background: #000000;
+ filter: progid:DXImageTransform.Microsoft.Blur(pixelRadius=5 ) alpha(opacity = 20);
+ margin-top: 2px;
+ margin-left: 2px;
+}
diff --git a/tests/sass/src/com/vaadin/sass/testcases/scss/MicrosoftExtensions.java b/tests/sass/src/com/vaadin/sass/testcases/scss/MicrosoftExtensions.java
new file mode 100644
index 0000000000..08580fd9b2
--- /dev/null
+++ b/tests/sass/src/com/vaadin/sass/testcases/scss/MicrosoftExtensions.java
@@ -0,0 +1,22 @@
+/*
+@VaadinApache2LicenseForJavaFiles@
+ */
+
+package com.vaadin.sass.testcases.scss;
+
+import org.junit.Test;
+
+import com.vaadin.sass.AbstractTestBase;
+
+/**
+ * Test for Microsoft specific CSS extensions.
+ */
+public class MicrosoftExtensions extends AbstractTestBase {
+ String scss = "/scss/microsoft-extensions.scss";
+ String css = "/css/microsoft-extensions.css";
+
+ @Test
+ public void testCompiler() throws Exception {
+ testCompiler(scss, css);
+ }
+}