From bc0d55197a2b7fd8a6ac163688026d92203f2618 Mon Sep 17 00:00:00 2001 From: Mika Murtojarvi Date: Thu, 7 Nov 2013 13:28:53 +0200 Subject: 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 --- theme-compiler/tests/resources/w3ctests/scss/css3-modsel-67.0.scss | 3 +++ .../tests/src/com/vaadin/sass/testcases/scss/W3ConformanceTests.java | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) create mode 100644 theme-compiler/tests/resources/w3ctests/scss/css3-modsel-67.0.scss (limited to 'theme-compiler/tests') 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", -- cgit v1.2.3