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 --- .../computing-row-measure-0.html | 71 ++++++++ .../computing-row-measure-1.html | 94 ++++++++++ .../extra-height-given-to-all-row-groups-001.html | 41 +++++ .../extra-height-given-to-all-row-groups-002.html | 41 +++++ .../extra-height-given-to-all-row-groups-003.html | 49 +++++ .../extra-height-given-to-all-row-groups-004.html | 49 +++++ .../extra-height-given-to-all-row-groups-005.html | 41 +++++ .../percentage-sizing-of-table-cell-007-ref.html | 8 + .../percentage-sizing-of-table-cell-007.html | 10 ++ ...tage-sizing-of-table-cell-children-002-ref.html | 37 ++++ ...rcentage-sizing-of-table-cell-children-002.html | 39 ++++ ...rcentage-sizing-of-table-cell-children-003.html | 37 ++++ ...rcentage-sizing-of-table-cell-children-004.html | 37 ++++ ...rcentage-sizing-of-table-cell-children-005.html | 40 +++++ ...rcentage-sizing-of-table-cell-children-006.html | 38 ++++ .../percentage-sizing-of-table-cell-children.html | 199 +++++++++++++++++++++ ...ng-of-table-cell-replaced-children-001-ref.html | 38 ++++ ...sizing-of-table-cell-replaced-children-001.html | 40 +++++ .../height-distribution/support/scrollbars.css | 10 ++ ...different-subpixel-padding-in-same-row-ref.html | 12 ++ ...bpixel-padding-in-same-row-vertical-rl-ref.html | 13 ++ ...t-subpixel-padding-in-same-row-vertical-rl.html | 15 ++ .../td-different-subpixel-padding-in-same-row.html | 14 ++ 23 files changed, 973 insertions(+) create mode 100644 testing/web-platform/tests/css/css-tables/height-distribution/computing-row-measure-0.html create mode 100644 testing/web-platform/tests/css/css-tables/height-distribution/computing-row-measure-1.html create mode 100644 testing/web-platform/tests/css/css-tables/height-distribution/extra-height-given-to-all-row-groups-001.html create mode 100644 testing/web-platform/tests/css/css-tables/height-distribution/extra-height-given-to-all-row-groups-002.html create mode 100644 testing/web-platform/tests/css/css-tables/height-distribution/extra-height-given-to-all-row-groups-003.html create mode 100644 testing/web-platform/tests/css/css-tables/height-distribution/extra-height-given-to-all-row-groups-004.html create mode 100644 testing/web-platform/tests/css/css-tables/height-distribution/extra-height-given-to-all-row-groups-005.html create mode 100644 testing/web-platform/tests/css/css-tables/height-distribution/percentage-sizing-of-table-cell-007-ref.html create mode 100644 testing/web-platform/tests/css/css-tables/height-distribution/percentage-sizing-of-table-cell-007.html create mode 100644 testing/web-platform/tests/css/css-tables/height-distribution/percentage-sizing-of-table-cell-children-002-ref.html create mode 100644 testing/web-platform/tests/css/css-tables/height-distribution/percentage-sizing-of-table-cell-children-002.html create mode 100644 testing/web-platform/tests/css/css-tables/height-distribution/percentage-sizing-of-table-cell-children-003.html create mode 100644 testing/web-platform/tests/css/css-tables/height-distribution/percentage-sizing-of-table-cell-children-004.html create mode 100644 testing/web-platform/tests/css/css-tables/height-distribution/percentage-sizing-of-table-cell-children-005.html create mode 100644 testing/web-platform/tests/css/css-tables/height-distribution/percentage-sizing-of-table-cell-children-006.html create mode 100644 testing/web-platform/tests/css/css-tables/height-distribution/percentage-sizing-of-table-cell-children.html create mode 100644 testing/web-platform/tests/css/css-tables/height-distribution/percentage-sizing-of-table-cell-replaced-children-001-ref.html create mode 100644 testing/web-platform/tests/css/css-tables/height-distribution/percentage-sizing-of-table-cell-replaced-children-001.html create mode 100644 testing/web-platform/tests/css/css-tables/height-distribution/support/scrollbars.css create mode 100644 testing/web-platform/tests/css/css-tables/height-distribution/td-different-subpixel-padding-in-same-row-ref.html create mode 100644 testing/web-platform/tests/css/css-tables/height-distribution/td-different-subpixel-padding-in-same-row-vertical-rl-ref.html create mode 100644 testing/web-platform/tests/css/css-tables/height-distribution/td-different-subpixel-padding-in-same-row-vertical-rl.html create mode 100644 testing/web-platform/tests/css/css-tables/height-distribution/td-different-subpixel-padding-in-same-row.html (limited to 'testing/web-platform/tests/css/css-tables/height-distribution') diff --git a/testing/web-platform/tests/css/css-tables/height-distribution/computing-row-measure-0.html b/testing/web-platform/tests/css/css-tables/height-distribution/computing-row-measure-0.html new file mode 100644 index 0000000000..ebaab2c359 --- /dev/null +++ b/testing/web-platform/tests/css/css-tables/height-distribution/computing-row-measure-0.html @@ -0,0 +1,71 @@ + + + + + + + +
+

"Computing row measures"

+

This is testing that the table root's minimum is max(table-root width, capmin, gridmin) Spec Text

+ +
+ + + + + + +
+ + + + + + + +
+ + + + + + + +
+ + + + + + + +
+
+ + + diff --git a/testing/web-platform/tests/css/css-tables/height-distribution/computing-row-measure-1.html b/testing/web-platform/tests/css/css-tables/height-distribution/computing-row-measure-1.html new file mode 100644 index 0000000000..756e730eef --- /dev/null +++ b/testing/web-platform/tests/css/css-tables/height-distribution/computing-row-measure-1.html @@ -0,0 +1,94 @@ + + + + + + + +
+

Width Distribution

+

"Computing column measures"

+

This is testing intermediate min-content width for span 2

+ +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + +
+ + + + + + + + + + +
+ + + + + + + + + + +
+
+ + + + diff --git a/testing/web-platform/tests/css/css-tables/height-distribution/extra-height-given-to-all-row-groups-001.html b/testing/web-platform/tests/css/css-tables/height-distribution/extra-height-given-to-all-row-groups-001.html new file mode 100644 index 0000000000..387bfafae1 --- /dev/null +++ b/testing/web-platform/tests/css/css-tables/height-distribution/extra-height-given-to-all-row-groups-001.html @@ -0,0 +1,41 @@ + + + + + + + + +all row groups receive extra height distribution + + + + +

Test passes if there is a filled green square and no red. +

+
+ + + + + + +
+
diff --git a/testing/web-platform/tests/css/css-tables/height-distribution/extra-height-given-to-all-row-groups-002.html b/testing/web-platform/tests/css/css-tables/height-distribution/extra-height-given-to-all-row-groups-002.html new file mode 100644 index 0000000000..6a0589d3b8 --- /dev/null +++ b/testing/web-platform/tests/css/css-tables/height-distribution/extra-height-given-to-all-row-groups-002.html @@ -0,0 +1,41 @@ + + + + + + + + +all row groups receive extra height distribution + + + + +

Test passes if there is a filled green square and no red. +

+
+ + + + + + +
+
diff --git a/testing/web-platform/tests/css/css-tables/height-distribution/extra-height-given-to-all-row-groups-003.html b/testing/web-platform/tests/css/css-tables/height-distribution/extra-height-given-to-all-row-groups-003.html new file mode 100644 index 0000000000..7970f95d0e --- /dev/null +++ b/testing/web-platform/tests/css/css-tables/height-distribution/extra-height-given-to-all-row-groups-003.html @@ -0,0 +1,49 @@ + + + + + + + + + + +all row groups receive extra height distribution + + + + + + + + + + + + + + + +
+ + diff --git a/testing/web-platform/tests/css/css-tables/height-distribution/extra-height-given-to-all-row-groups-004.html b/testing/web-platform/tests/css/css-tables/height-distribution/extra-height-given-to-all-row-groups-004.html new file mode 100644 index 0000000000..8ca86957c1 --- /dev/null +++ b/testing/web-platform/tests/css/css-tables/height-distribution/extra-height-given-to-all-row-groups-004.html @@ -0,0 +1,49 @@ + + + + + + + + + + +all row groups receive extra height distribution + + + + + + + + + + + + + + + +
+ + diff --git a/testing/web-platform/tests/css/css-tables/height-distribution/extra-height-given-to-all-row-groups-005.html b/testing/web-platform/tests/css/css-tables/height-distribution/extra-height-given-to-all-row-groups-005.html new file mode 100644 index 0000000000..381d775e89 --- /dev/null +++ b/testing/web-platform/tests/css/css-tables/height-distribution/extra-height-given-to-all-row-groups-005.html @@ -0,0 +1,41 @@ + + + + + + + + +all row groups receive extra height distribution + + + + +

Test passes if there is a filled green square and no red. +

+
+ + + + + + +
+
diff --git a/testing/web-platform/tests/css/css-tables/height-distribution/percentage-sizing-of-table-cell-007-ref.html b/testing/web-platform/tests/css/css-tables/height-distribution/percentage-sizing-of-table-cell-007-ref.html new file mode 100644 index 0000000000..cdd6e7c906 --- /dev/null +++ b/testing/web-platform/tests/css/css-tables/height-distribution/percentage-sizing-of-table-cell-007-ref.html @@ -0,0 +1,8 @@ + + + +
+
+
+
+
diff --git a/testing/web-platform/tests/css/css-tables/height-distribution/percentage-sizing-of-table-cell-007.html b/testing/web-platform/tests/css/css-tables/height-distribution/percentage-sizing-of-table-cell-007.html new file mode 100644 index 0000000000..371333a24d --- /dev/null +++ b/testing/web-platform/tests/css/css-tables/height-distribution/percentage-sizing-of-table-cell-007.html @@ -0,0 +1,10 @@ + + + + + +
+
+
+
+
diff --git a/testing/web-platform/tests/css/css-tables/height-distribution/percentage-sizing-of-table-cell-children-002-ref.html b/testing/web-platform/tests/css/css-tables/height-distribution/percentage-sizing-of-table-cell-children-002-ref.html new file mode 100644 index 0000000000..f2ed9e15dd --- /dev/null +++ b/testing/web-platform/tests/css/css-tables/height-distribution/percentage-sizing-of-table-cell-children-002-ref.html @@ -0,0 +1,37 @@ + + +CSS Reftest Reference: Percentage sizing of table cell children with margin, border, padding and scrollbar + + + + +

The test passes if you see scrollbars but there's no overflow, so you cannot actually scroll.

+ +
+
+
+
+
diff --git a/testing/web-platform/tests/css/css-tables/height-distribution/percentage-sizing-of-table-cell-children-002.html b/testing/web-platform/tests/css/css-tables/height-distribution/percentage-sizing-of-table-cell-children-002.html new file mode 100644 index 0000000000..19b02b2031 --- /dev/null +++ b/testing/web-platform/tests/css/css-tables/height-distribution/percentage-sizing-of-table-cell-children-002.html @@ -0,0 +1,39 @@ + + +CSS Table Test: Percentage sizing of table cell children with margin, border, padding and scrollbar + + + + + + + +

The test passes if you see scrollbars but there's no overflow, so you cannot actually scroll.

+ +
+
+
+
+
diff --git a/testing/web-platform/tests/css/css-tables/height-distribution/percentage-sizing-of-table-cell-children-003.html b/testing/web-platform/tests/css/css-tables/height-distribution/percentage-sizing-of-table-cell-children-003.html new file mode 100644 index 0000000000..1198e6f649 --- /dev/null +++ b/testing/web-platform/tests/css/css-tables/height-distribution/percentage-sizing-of-table-cell-children-003.html @@ -0,0 +1,37 @@ + + + + + + + +table cell percent height descendant with overflow:auto + + + + + +

Test passes if there is a filled green square and no red. +

+
+
+
+
+
+
+
diff --git a/testing/web-platform/tests/css/css-tables/height-distribution/percentage-sizing-of-table-cell-children-004.html b/testing/web-platform/tests/css/css-tables/height-distribution/percentage-sizing-of-table-cell-children-004.html new file mode 100644 index 0000000000..ffbb4b008a --- /dev/null +++ b/testing/web-platform/tests/css/css-tables/height-distribution/percentage-sizing-of-table-cell-children-004.html @@ -0,0 +1,37 @@ + + + + + + + +table cell percent height descendant with overflow:auto + + + + + +

Test passes if there is a filled green square and no red. +

+
+
+
+
+
+
+
diff --git a/testing/web-platform/tests/css/css-tables/height-distribution/percentage-sizing-of-table-cell-children-005.html b/testing/web-platform/tests/css/css-tables/height-distribution/percentage-sizing-of-table-cell-children-005.html new file mode 100644 index 0000000000..0a0e658bd8 --- /dev/null +++ b/testing/web-platform/tests/css/css-tables/height-distribution/percentage-sizing-of-table-cell-children-005.html @@ -0,0 +1,40 @@ + + + + + + + +table cell percent height descendant with overflow:auto + + + + + +

Test passes if there is a filled green square and no red. +

+
+
+
+
+
+
+
+
diff --git a/testing/web-platform/tests/css/css-tables/height-distribution/percentage-sizing-of-table-cell-children-006.html b/testing/web-platform/tests/css/css-tables/height-distribution/percentage-sizing-of-table-cell-children-006.html new file mode 100644 index 0000000000..de3ac019b3 --- /dev/null +++ b/testing/web-platform/tests/css/css-tables/height-distribution/percentage-sizing-of-table-cell-children-006.html @@ -0,0 +1,38 @@ + + + + + + + +table cell percent height descendant with overflow:auto + + + + + +

Test passes if there is a filled green square and no red. +

+
+
+ +
+
+
+
+
diff --git a/testing/web-platform/tests/css/css-tables/height-distribution/percentage-sizing-of-table-cell-children.html b/testing/web-platform/tests/css/css-tables/height-distribution/percentage-sizing-of-table-cell-children.html new file mode 100644 index 0000000000..1029581022 --- /dev/null +++ b/testing/web-platform/tests/css/css-tables/height-distribution/percentage-sizing-of-table-cell-children.html @@ -0,0 +1,199 @@ + + + + + + + + + +
+ +

Height distribution

+

Check that percentages are accounted for correctly for table-cell children

+ + +
+

There should be a 100px blue square below:

+

Percentages resolve based on the column width

+
+ +
+
+
+ + + +
+

There should be a 100px blue square below:

+

Percentages resolve based on the row height

+
+ +
+
+
+ + +
+

There should be a 100px blue square below:

+

Percentages resolve based on the final column width

+
+ +
+
+
+
+ + + +
+

There should be a 100px blue square below:

+

Percentages resolve based on the final row height

+
+ + +
+
+
+
+
+ + + +
+

There should be a blue and cyan rectangles of the same width:

+

Unresolvable percentage widths are resolved as auto in first pass (replaced elements)

+
+ + + + +
+ + + +
+

There should be a blue and cyan rectangles below of the same height:

+

Unresolvable percentage heights are resolved as auto in first pass (replaced elements)

+
+ + + + +
+ + + +
+

There should be a 100px blue square below:

+

Unresolvable percentage widths are resolved as auto in first pass (unscrollable overflow)

+
+ +
+
+
+ + + +
+

There should be a 100px blue square below:

+

Unresolvable percentage heights are resolved as auto in first pass (unscrollable overflow)

+
+ + +
+
+
+
+ + + +
+

There should be a 100px blue square below:

+

Unresolvable percentage widths are resolved as auto in first pass (scrollable overflow)

+
+ +
+
+
+ + + +
+

There should be a 100px blue square below:

+

Unresolvable percentage heights are resolved as 0px in first pass (scrollable overflow)

+
+ +
+
+
+
+ + +
diff --git a/testing/web-platform/tests/css/css-tables/height-distribution/percentage-sizing-of-table-cell-replaced-children-001-ref.html b/testing/web-platform/tests/css/css-tables/height-distribution/percentage-sizing-of-table-cell-replaced-children-001-ref.html new file mode 100644 index 0000000000..a696e56b4c --- /dev/null +++ b/testing/web-platform/tests/css/css-tables/height-distribution/percentage-sizing-of-table-cell-replaced-children-001-ref.html @@ -0,0 +1,38 @@ + + +CSS Reftest Reference: Percentage sizing of table cell children with margin, border, padding and scrollbar + + + + +

The test passes if you see scrollbars but there's no overflow, so you cannot actually scroll.

+ +
+
+ +
+
diff --git a/testing/web-platform/tests/css/css-tables/height-distribution/percentage-sizing-of-table-cell-replaced-children-001.html b/testing/web-platform/tests/css/css-tables/height-distribution/percentage-sizing-of-table-cell-replaced-children-001.html new file mode 100644 index 0000000000..bd2de2d2dd --- /dev/null +++ b/testing/web-platform/tests/css/css-tables/height-distribution/percentage-sizing-of-table-cell-replaced-children-001.html @@ -0,0 +1,40 @@ + + +CSS Table Test: Percentage sizing of table cell replaced children with margin, border, padding and scrollbar + + + + + + + +

The test passes if you see scrollbars but there's no overflow, so you cannot actually scroll.

+ +
+
+ +
+
diff --git a/testing/web-platform/tests/css/css-tables/height-distribution/support/scrollbars.css b/testing/web-platform/tests/css/css-tables/height-distribution/support/scrollbars.css new file mode 100644 index 0000000000..7a6944e169 --- /dev/null +++ b/testing/web-platform/tests/css/css-tables/height-distribution/support/scrollbars.css @@ -0,0 +1,10 @@ +/* This makes the scrollbars visible on mac, both to humans and screenshots.*/ + +::-webkit-scrollbar { + -webkit-appearance: none; +} + +::-webkit-scrollbar-track { + background-color: #eee; + border-radius: 8px; +} diff --git a/testing/web-platform/tests/css/css-tables/height-distribution/td-different-subpixel-padding-in-same-row-ref.html b/testing/web-platform/tests/css/css-tables/height-distribution/td-different-subpixel-padding-in-same-row-ref.html new file mode 100644 index 0000000000..02f0f54c3f --- /dev/null +++ b/testing/web-platform/tests/css/css-tables/height-distribution/td-different-subpixel-padding-in-same-row-ref.html @@ -0,0 +1,12 @@ + +Passes if there is an unbroken rectangular border. + + + + + + + + + +
diff --git a/testing/web-platform/tests/css/css-tables/height-distribution/td-different-subpixel-padding-in-same-row-vertical-rl-ref.html b/testing/web-platform/tests/css/css-tables/height-distribution/td-different-subpixel-padding-in-same-row-vertical-rl-ref.html new file mode 100644 index 0000000000..9784962be4 --- /dev/null +++ b/testing/web-platform/tests/css/css-tables/height-distribution/td-different-subpixel-padding-in-same-row-vertical-rl-ref.html @@ -0,0 +1,13 @@ + +Passes if there is an unbroken rectangular border. + + + + + + + + + +
diff --git a/testing/web-platform/tests/css/css-tables/height-distribution/td-different-subpixel-padding-in-same-row-vertical-rl.html b/testing/web-platform/tests/css/css-tables/height-distribution/td-different-subpixel-padding-in-same-row-vertical-rl.html new file mode 100644 index 0000000000..48edbde281 --- /dev/null +++ b/testing/web-platform/tests/css/css-tables/height-distribution/td-different-subpixel-padding-in-same-row-vertical-rl.html @@ -0,0 +1,15 @@ + + + +Passes if there is an unbroken rectangular border. + + + + + + + + + +
diff --git a/testing/web-platform/tests/css/css-tables/height-distribution/td-different-subpixel-padding-in-same-row.html b/testing/web-platform/tests/css/css-tables/height-distribution/td-different-subpixel-padding-in-same-row.html new file mode 100644 index 0000000000..a7fe908e0d --- /dev/null +++ b/testing/web-platform/tests/css/css-tables/height-distribution/td-different-subpixel-padding-in-same-row.html @@ -0,0 +1,14 @@ + + + +Passes if there is an unbroken rectangular border. + + + + + + + + + +
-- cgit v1.2.3