diff options
author | Mika Murtojarvi <mika@vaadin.com> | 2013-11-05 11:20:21 +0200 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2013-11-06 11:24:24 +0000 |
commit | a5412c02746a2cddc289b002cb6667bfc7028950 (patch) | |
tree | 9053971de6301e873bc8aba5bf6591b1ad9b3c63 /theme-compiler/tests | |
parent | a3e176c5607e43cf72c557c52287d6b68e4b5a5c (diff) | |
download | vaadin-framework-a5412c02746a2cddc289b002cb6667bfc7028950.tar.gz vaadin-framework-a5412c02746a2cddc289b002cb6667bfc7028950.zip |
Sass, the handling of selectors containing multiple #-symbols (#12832)
After the first commit, a test case has been downloaded and added to
w3ctests. The indentation of a production was also changed in an
attempt to more clearly express its meaning.
Change-Id: I32356d1fcbafada982a5d3e22f0821e554cc6c8a
Diffstat (limited to 'theme-compiler/tests')
-rw-r--r-- | theme-compiler/tests/resources/w3ctests/scss/css3-modsel-15b.0.scss | 9 | ||||
-rw-r--r-- | theme-compiler/tests/src/com/vaadin/sass/testcases/scss/W3ConformanceTests.java | 4 |
2 files changed, 10 insertions, 3 deletions
diff --git a/theme-compiler/tests/resources/w3ctests/scss/css3-modsel-15b.0.scss b/theme-compiler/tests/resources/w3ctests/scss/css3-modsel-15b.0.scss new file mode 100644 index 0000000000..b2fb3ac6ae --- /dev/null +++ b/theme-compiler/tests/resources/w3ctests/scss/css3-modsel-15b.0.scss @@ -0,0 +1,9 @@ +/* Source: http://www.w3.org/Style/CSS/Test/CSS3/Selectors/current/html/tests/css3-modsel-15b.html */ + +p { background: green; color: white; } +#test#fail { background: red; color: yellow; } +#fail#test { background: red; color: yellow; } +#fail { background: red; color: yellow; } +div { background: red; color: yellow; } +#pass#pass { background: green; color: white; } + diff --git a/theme-compiler/tests/src/com/vaadin/sass/testcases/scss/W3ConformanceTests.java b/theme-compiler/tests/src/com/vaadin/sass/testcases/scss/W3ConformanceTests.java index fcb8e9a70a..274ca382ca 100644 --- a/theme-compiler/tests/src/com/vaadin/sass/testcases/scss/W3ConformanceTests.java +++ b/theme-compiler/tests/src/com/vaadin/sass/testcases/scss/W3ConformanceTests.java @@ -131,8 +131,6 @@ public class W3ConformanceTests extends AbstractDirectoryScanningSassTests { * required! */ final String[] excludelist = new String[] { - // Probable bug/limitation (filed as #12832) - "http://www.w3.org/Style/CSS/Test/CSS3/Selectors/current/html/tests/css3-modsel-15b.html", // Probable bug/limitation (filed as #12833) "http://www.w3.org/Style/CSS/Test/CSS3/Selectors/current/html/tests/css3-modsel-67.html", @@ -148,7 +146,7 @@ public class W3ConformanceTests extends AbstractDirectoryScanningSassTests { "http://www.w3.org/Style/CSS/Test/CSS3/Selectors/current/html/tests/css3-modsel-76b.html", "http://www.w3.org/Style/CSS/Test/CSS3/Selectors/current/html/tests/css3-modsel-83.html", - // Probable bug/limitation (files as #12835) + // Invalid CSS, although sass-lang compiler accepts (see #12835) "http://www.w3.org/Style/CSS/Test/CSS3/Selectors/current/html/tests/css3-modsel-154.html", // Invalid CSS? sass-lang compiler fails |