diff options
author | Mika Murtojarvi <mika@vaadin.com> | 2013-11-07 13:28:53 +0200 |
---|---|---|
committer | Mika Murtojärvi <mika@vaadin.com> | 2013-11-07 12:16:39 +0000 |
commit | bc0d55197a2b7fd8a6ac163688026d92203f2618 (patch) | |
tree | 7668d8cce3e305f45756b1a4818cca2ea62e8b49 /theme-compiler/tests | |
parent | a5412c02746a2cddc289b002cb6667bfc7028950 (diff) | |
download | vaadin-framework-bc0d55197a2b7fd8a6ac163688026d92203f2618.tar.gz vaadin-framework-bc0d55197a2b7fd8a6ac163688026d92203f2618.zip |
A fix for handling nested parentheses in sass (#12833)
Selectors such as *:not(:lang(fr)) are now allowed. Nested
parentheses were identified as the cause of the problem. Now
skipping is done to the matching right parenthesis instead of the
first right parenthesis.
Change-Id: I2e83cac14796b739c6b6550642417b12dab752f2
Diffstat (limited to 'theme-compiler/tests')
-rw-r--r-- | theme-compiler/tests/resources/w3ctests/scss/css3-modsel-67.0.scss | 3 | ||||
-rw-r--r-- | theme-compiler/tests/src/com/vaadin/sass/testcases/scss/W3ConformanceTests.java | 3 |
2 files changed, 3 insertions, 3 deletions
diff --git a/theme-compiler/tests/resources/w3ctests/scss/css3-modsel-67.0.scss b/theme-compiler/tests/resources/w3ctests/scss/css3-modsel-67.0.scss new file mode 100644 index 0000000000..4e177b1149 --- /dev/null +++ b/theme-compiler/tests/resources/w3ctests/scss/css3-modsel-67.0.scss @@ -0,0 +1,3 @@ +/* Source: http://www.w3.org/Style/CSS/Test/CSS3/Selectors/current/html/tests/css3-modsel-67.html */ +div.stub * { background-color : red } +div.stub *:not(:lang(fr)) { background-color : green } 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 274ca382ca..8dbc6345d6 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 @@ -132,9 +132,6 @@ public class W3ConformanceTests extends AbstractDirectoryScanningSassTests { */ final String[] excludelist = new String[] { - // Probable bug/limitation (filed as #12833) - "http://www.w3.org/Style/CSS/Test/CSS3/Selectors/current/html/tests/css3-modsel-67.html", - // Probable bug/limitation (filed as #12834) "http://www.w3.org/Style/CSS/Test/CSS3/Selectors/current/html/tests/css3-modsel-73.html", "http://www.w3.org/Style/CSS/Test/CSS3/Selectors/current/html/tests/css3-modsel-73b.html", |