summaryrefslogtreecommitdiffstats
path: root/theme-compiler/tests/resources/w3ctests/scss/table-backgrounds-bs-column-001.0.scss
diff options
context:
space:
mode:
authorjoheriks <joheriks@vaadin.com>2013-10-22 17:30:31 +0300
committerjoheriks <joheriks@vaadin.com>2013-10-30 10:27:44 +0200
commit29a6a8a7cbd0560721f313bf8554be886f98e699 (patch)
tree84d96c7afa2d0a0d514938e93558d4ee179f5e80 /theme-compiler/tests/resources/w3ctests/scss/table-backgrounds-bs-column-001.0.scss
parentf5feaa2e3a8aebace6d9978131b192ed8b046557 (diff)
downloadvaadin-framework-29a6a8a7cbd0560721f313bf8554be886f98e699.tar.gz
vaadin-framework-29a6a8a7cbd0560721f313bf8554be886f98e699.zip
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
Diffstat (limited to 'theme-compiler/tests/resources/w3ctests/scss/table-backgrounds-bs-column-001.0.scss')
-rw-r--r--theme-compiler/tests/resources/w3ctests/scss/table-backgrounds-bs-column-001.0.scss34
1 files changed, 34 insertions, 0 deletions
diff --git a/theme-compiler/tests/resources/w3ctests/scss/table-backgrounds-bs-column-001.0.scss b/theme-compiler/tests/resources/w3ctests/scss/table-backgrounds-bs-column-001.0.scss
new file mode 100644
index 0000000000..8289f3a4bb
--- /dev/null
+++ b/theme-compiler/tests/resources/w3ctests/scss/table-backgrounds-bs-column-001.0.scss
@@ -0,0 +1,34 @@
+/* Source: http://test.csswg.org/suites/css2.1/20110323/html4/table-backgrounds-bs-column-001.htm */
+
+
+ html, body { margin: 0; padding: 0; border: 0; font-size: 16px; }
+ body { padding: 15px; }
+
+ table {
+ margin: 0 3px 2px 4px; /* zero top to work around collapsing bug */
+ border: transparent solid;
+ border-width: 4px 2px 7px 3px;
+ padding: 3px 7px 8px 6px;
+ border-collapse: separate;
+ border-spacing: 2px 3px;
+ }
+
+ td {
+ border: transparent solid;
+ border-width: 2px 1px 4px 3px;
+ padding: 1px 2px 4px 3px;
+ empty-cells: show;
+ }
+
+ div { height: 10px; width: 50px; }
+
+ table.color col.t { background-color: aqua; }
+
+ table.imagetl col.t, table.imagebr col.t {
+ background-image: url(support/repeatable-diagonal-gradient-with-ticks.png);
+ }
+
+ table.imagetl col.t { background-position: top left; /* default */ }
+ table.imagebr col.t { background-position: bottom right; /* default */ }
+
+