aboutsummaryrefslogtreecommitdiffstats
path: root/theme-compiler/tests/resources/w3ctests/scss/before-after-table-parts-001.0.scss
diff options
context:
space:
mode:
Diffstat (limited to 'theme-compiler/tests/resources/w3ctests/scss/before-after-table-parts-001.0.scss')
-rw-r--r--theme-compiler/tests/resources/w3ctests/scss/before-after-table-parts-001.0.scss44
1 files changed, 44 insertions, 0 deletions
diff --git a/theme-compiler/tests/resources/w3ctests/scss/before-after-table-parts-001.0.scss b/theme-compiler/tests/resources/w3ctests/scss/before-after-table-parts-001.0.scss
new file mode 100644
index 0000000000..f199f3ae10
--- /dev/null
+++ b/theme-compiler/tests/resources/w3ctests/scss/before-after-table-parts-001.0.scss
@@ -0,0 +1,44 @@
+/* Source: http://test.csswg.org/suites/css2.1/20110323/html4/before-after-table-parts-001.htm */
+
+table, div.gen { counter-reset:ctr; quotes:"\0022" "\0022" "\0022" "\0022"; }
+
+.gen:before {
+ content:counter(ctr) url(support/square-outline-32x32.png) open-quote "Before " attr(class);
+ counter-increment:ctr;
+}
+.gen:after {
+ content:counter(ctr) url(support/square-outline-32x32.png) "After " attr(class) close-quote;
+ counter-increment:ctr;
+}
+
+table { border:1px solid blue; }
+td { border:1px solid cyan; }
+td { border-spacing:0; padding:0; }
+
+tr.gen:before, tr.gen:after { display:table-cell; }
+tbody.gen:before, tbody.gen:after { display:table-row; }
+table.gen:before, table.gen:after { display:table-row-group; }
+table.col:before, table.gen.col:after { display:table-column-group; }
+/* note reordering here! */
+table.headfoot:after { display:table-header-group; }
+table.headfoot:before { display:table-footer-group; }
+
+.cell { display:table-cell; }
+.row { display:table-row; }
+.rowgroup { display:table-row-group; }
+.table { display:table; }
+div.gencell:before, div.gencell:after { display:table-cell; }
+div.genrow:before, div.genrow:after { display:table-row; }
+div.genblock:before, div.genblock:after { display:block; }
+div.geninline:before, div.geninline:after { display:inline; }
+
+div { border:1px solid green; margin:5px; }
+
+.varyheight:before { height:100px; background:yellow; }
+.varyheight > div { height:80px; background:orange; }
+.varyheight:after { height:60px; background:brown; }
+
+.varywidth:before { background:yellow; }
+.varywidth > div { background:orange; }
+.varywidth:after { background:brown; }
+