From 43a97878ce14b72f0981164f87f2e35e14151312 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 11:22:09 +0200 Subject: Adding upstream version 110.0.1. Signed-off-by: Daniel Baumann --- .../css/css-tables/html-to-css-mapping-2.html | 226 +++++++++++++++++++++ 1 file changed, 226 insertions(+) create mode 100644 testing/web-platform/tests/css/css-tables/html-to-css-mapping-2.html (limited to 'testing/web-platform/tests/css/css-tables/html-to-css-mapping-2.html') diff --git a/testing/web-platform/tests/css/css-tables/html-to-css-mapping-2.html b/testing/web-platform/tests/css/css-tables/html-to-css-mapping-2.html new file mode 100644 index 0000000000..552270b539 --- /dev/null +++ b/testing/web-platform/tests/css/css-tables/html-to-css-mapping-2.html @@ -0,0 +1,226 @@ + + + + + +
+ +

HTML-2-CSS Mapping

+

Checks that browsers implement properly the html2css stylesheet (rules about borders, disabling border-collapse for clarity)

+ + +
+

1: The border of the table element should be 0px hidden gray:

+

+ border-width:0px is the initial value;
+ border-style:hidden comes from table:matches(..., [rules=groups], ...);
+ border-color:gray comes from table +

+
+ +
+

2: The border of the table element should be 1px outset black:

+

+ border-width:1px comes from table[frame=box] (1/2);
+ border-style:outset comes from table[frame=box] (2/2);
+ border-color:black comes from table:matches(..., [rules=groups], ...) +

+
+ +
+

3a: The border of the table element should be 10px outset gray:

+

+ border-width:10px comes from table[border=$w];
+ border-style:outset comes from table[frame=box] (2/2);
+ border-color:gray comes from table[border=$w] +

+
+

3b: The border-top of the td element should be 1px inset gray:

+

+ border-width:1px comes from table[border=$w] > ...td;
+ border-style:inset comes from table[border=$w] > ...td;
+ border-color:gray comes from table[border=$w] > ...td +

+
+

3c: The border-left of the td element should be 1px hidden gray:

+

+ border-width:1px comes from table[border=$w] > ...td;
+ border-style:inset comes from table[border=$w] > ...td;
+ border-color:gray comes from table[border=$w] > ...td +

+
+ +
+

4a: The border of the table element should be 1px outset gray:

+

+ border-width:10px comes from table[border=$w];
+ border-style:outset comes from table[border=$w];
+ border-color:gray comes from table[border=$w] +

+
+

4b: The top border of the td element should be 1px solid gray:

+

+ border-width:1px comes from table[rules=all] > ... td;
+ border-style:solid comes from table[rules=all] > ... td;
+ border-color:gray comes from table[rules=all] > ... td +

+
+ +
+

5a: The left border of the table element should be ? hidden ?:

+

+ border-style:hidden comes from table[frame=hsides];
+

+
+

5b: The right border of the table element should be 10px solid gray:

+

+ border-width:10px comes from table[border=$w];
+ border-style:solid comes from [style];
+ border-color:gray comes from table[border=$w] +

+
+ + + + +
+ +
+ + -- cgit v1.2.3