From 26a029d407be480d791972afb5975cf62c9360a6 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 02:47:55 +0200 Subject: Adding upstream version 124.0.1. Signed-off-by: Daniel Baumann --- .../tests/css/css-tables/table-model-fixup.html | 125 +++++++++++++++++++++ 1 file changed, 125 insertions(+) create mode 100644 testing/web-platform/tests/css/css-tables/table-model-fixup.html (limited to 'testing/web-platform/tests/css/css-tables/table-model-fixup.html') diff --git a/testing/web-platform/tests/css/css-tables/table-model-fixup.html b/testing/web-platform/tests/css/css-tables/table-model-fixup.html new file mode 100644 index 0000000000..13af8b9db4 --- /dev/null +++ b/testing/web-platform/tests/css/css-tables/table-model-fixup.html @@ -0,0 +1,125 @@ + + + + + +
+ +

Table fixup

+

Check that missing elements are being created properly

+ +
+

This should be a 100px by 100px blue square:

+

1.1. Children of a table-column are treated as if they had display: none.

+
+ +
+

This should be a 100px by 100px blue square:

+

1.2. Children of a table-column-group which are not a table-column are treated as if they had display: none.

+
+ +
+

This should be a 100px by 100px blue square:

+

2.1. An anonymous table-row box must be generated around each sequence of consecutive children of a table-root box which are not proper table child boxes.

+ + +
+

This should read as "1\t2\t3\n   x":

+

2.2. An anonymous table-row box must be generated around each sequence of consecutive children of a table-row-grouping box which are not table-row boxes.

+ + 1 + + 2 + 3 + x + + +
+

This should read as "1\n1\t2":

+

2.1. and 2.2. happens before 2.3.

+ + 1 + + 1 + 2 + + +
+

This should read as "1\t2":

+

3.2. An anonymous table or inline-table box must be generated around each sequence of consecutive proper table child box which are misparented

+
12
+ +
+

This should read as "A B":

+

1.4. Anonymous inline boxes which contains only white space and are between two immediate siblings *each* of which is a table-non-root element, are treated as if they had display: none.

+ A B + +
+ + -- cgit v1.2.3