From 29a6a8a7cbd0560721f313bf8554be886f98e699 Mon Sep 17 00:00:00 2001 From: joheriks Date: Tue, 22 Oct 2013 17:30:31 +0300 Subject: Import W3C CSS tests to validate CSS parsing (#12735) Downloaded W3C conformance tests for CSS 2.1 and CSS 3 (selectors), extracted all CSS (style tags, inline styles, and linked stylesheets), Since each CSS is valid SCSS, the parser should accept them. Since these are browser tests, some include CSS fragments which are intentionally malformed. These are excluded via explicit exclusion lists. Change-Id: Ib3347e1c559908f3bdd12817e55985e85f0009a2 --- theme-compiler/tests/resources/w3ctests/scss/css3-modsel-44c.0.scss | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 theme-compiler/tests/resources/w3ctests/scss/css3-modsel-44c.0.scss (limited to 'theme-compiler/tests/resources/w3ctests/scss/css3-modsel-44c.0.scss') diff --git a/theme-compiler/tests/resources/w3ctests/scss/css3-modsel-44c.0.scss b/theme-compiler/tests/resources/w3ctests/scss/css3-modsel-44c.0.scss new file mode 100644 index 0000000000..9279385479 --- /dev/null +++ b/theme-compiler/tests/resources/w3ctests/scss/css3-modsel-44c.0.scss @@ -0,0 +1,5 @@ +/* Source: http://www.w3.org/Style/CSS/Test/CSS3/Selectors/current/html/tests/css3-modsel-44c.html */ + + .fail > div { background: red; color: yellow; } + .control { background: green; color: white; } + -- cgit v1.2.3