From 0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 03:47:29 +0200 Subject: Adding upstream version 115.8.0esr. Signed-off-by: Daniel Baumann --- .../web-platform/tests/css/css-exclusions/META.yml | 3 + .../exclusions-wrap-flow-01-ref.xht | 47 +++++++++++++ .../css3-exclusions/exclusions-wrap-flow-01.xht | 60 +++++++++++++++++ .../exclusions-wrap-flow-02-ref.xht | 68 +++++++++++++++++++ .../css3-exclusions/exclusions-wrap-flow-02.xht | 76 +++++++++++++++++++++ .../exclusions-wrap-flow-03-ref.xht | 66 +++++++++++++++++++ .../css3-exclusions/exclusions-wrap-flow-03.xht | 77 ++++++++++++++++++++++ .../exclusions-wrap-flow-04-ref.xht | 58 ++++++++++++++++ .../css3-exclusions/exclusions-wrap-flow-04.xht | 76 +++++++++++++++++++++ .../tests/css/css-exclusions/inheritance.html | 22 +++++++ .../tests/css/css-exclusions/resources/helper.js | 14 ++++ .../tests/css/css-exclusions/wrap-flow-001.html | 52 +++++++++++++++ .../tests/css/css-exclusions/wrap-flow-002.html | 58 ++++++++++++++++ .../tests/css/css-exclusions/wrap-flow-003.html | 59 +++++++++++++++++ .../tests/css/css-exclusions/wrap-flow-004.html | 70 ++++++++++++++++++++ .../tests/css/css-exclusions/wrap-flow-005.html | 70 ++++++++++++++++++++ .../tests/css/css-exclusions/wrap-flow-006.html | 66 +++++++++++++++++++ .../tests/css/css-exclusions/wrap-through-001.html | 73 ++++++++++++++++++++ 18 files changed, 1015 insertions(+) create mode 100644 testing/web-platform/tests/css/css-exclusions/META.yml create mode 100644 testing/web-platform/tests/css/css-exclusions/css3-exclusions/exclusions-wrap-flow-01-ref.xht create mode 100644 testing/web-platform/tests/css/css-exclusions/css3-exclusions/exclusions-wrap-flow-01.xht create mode 100644 testing/web-platform/tests/css/css-exclusions/css3-exclusions/exclusions-wrap-flow-02-ref.xht create mode 100644 testing/web-platform/tests/css/css-exclusions/css3-exclusions/exclusions-wrap-flow-02.xht create mode 100644 testing/web-platform/tests/css/css-exclusions/css3-exclusions/exclusions-wrap-flow-03-ref.xht create mode 100644 testing/web-platform/tests/css/css-exclusions/css3-exclusions/exclusions-wrap-flow-03.xht create mode 100644 testing/web-platform/tests/css/css-exclusions/css3-exclusions/exclusions-wrap-flow-04-ref.xht create mode 100644 testing/web-platform/tests/css/css-exclusions/css3-exclusions/exclusions-wrap-flow-04.xht create mode 100644 testing/web-platform/tests/css/css-exclusions/inheritance.html create mode 100644 testing/web-platform/tests/css/css-exclusions/resources/helper.js create mode 100644 testing/web-platform/tests/css/css-exclusions/wrap-flow-001.html create mode 100644 testing/web-platform/tests/css/css-exclusions/wrap-flow-002.html create mode 100644 testing/web-platform/tests/css/css-exclusions/wrap-flow-003.html create mode 100644 testing/web-platform/tests/css/css-exclusions/wrap-flow-004.html create mode 100644 testing/web-platform/tests/css/css-exclusions/wrap-flow-005.html create mode 100644 testing/web-platform/tests/css/css-exclusions/wrap-flow-006.html create mode 100644 testing/web-platform/tests/css/css-exclusions/wrap-through-001.html (limited to 'testing/web-platform/tests/css/css-exclusions') diff --git a/testing/web-platform/tests/css/css-exclusions/META.yml b/testing/web-platform/tests/css/css-exclusions/META.yml new file mode 100644 index 0000000000..32410e6918 --- /dev/null +++ b/testing/web-platform/tests/css/css-exclusions/META.yml @@ -0,0 +1,3 @@ +spec: https://drafts.csswg.org/css-exclusions/ +suggested_reviewers: + - astearns diff --git a/testing/web-platform/tests/css/css-exclusions/css3-exclusions/exclusions-wrap-flow-01-ref.xht b/testing/web-platform/tests/css/css-exclusions/css3-exclusions/exclusions-wrap-flow-01-ref.xht new file mode 100644 index 0000000000..1d202b224d --- /dev/null +++ b/testing/web-platform/tests/css/css-exclusions/css3-exclusions/exclusions-wrap-flow-01-ref.xht @@ -0,0 +1,47 @@ + + + + CSS Test: wrap-flow:none + + + + +

You should see a green square in a solid 400px by 400px black background. You should not see any red background.

+
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-exclusions/css3-exclusions/exclusions-wrap-flow-01.xht b/testing/web-platform/tests/css/css-exclusions/css3-exclusions/exclusions-wrap-flow-01.xht new file mode 100644 index 0000000000..45f3d1a1c6 --- /dev/null +++ b/testing/web-platform/tests/css/css-exclusions/css3-exclusions/exclusions-wrap-flow-01.xht @@ -0,0 +1,60 @@ + + + + CSS Test: wrap-flow:none + + + + + + + +

You should see a green square in a solid 400px by 400px black background. You should not see any red background.

+
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-exclusions/css3-exclusions/exclusions-wrap-flow-02-ref.xht b/testing/web-platform/tests/css/css-exclusions/css3-exclusions/exclusions-wrap-flow-02-ref.xht new file mode 100644 index 0000000000..24e490c47e --- /dev/null +++ b/testing/web-platform/tests/css/css-exclusions/css3-exclusions/exclusions-wrap-flow-02-ref.xht @@ -0,0 +1,68 @@ + + + + CSS Test: wrap-flow:none + + + + +

You should see a light green square centered in a solid 400px by 400px black background with a darker green area extending to the + right of the light green area and to the edge of the black background container. You should not see any red background.

+
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-exclusions/css3-exclusions/exclusions-wrap-flow-02.xht b/testing/web-platform/tests/css/css-exclusions/css3-exclusions/exclusions-wrap-flow-02.xht new file mode 100644 index 0000000000..4ff8cc4e98 --- /dev/null +++ b/testing/web-platform/tests/css/css-exclusions/css3-exclusions/exclusions-wrap-flow-02.xht @@ -0,0 +1,76 @@ + + + + CSS Test: wrap-flow:none + + + + + + + +

You should see a light green square centered in a solid 400px by 400px black background with a darker green area extending to the + right of the light green area and to the edge of the black background container. You should not see any red background.

+
+ + diff --git a/testing/web-platform/tests/css/css-exclusions/css3-exclusions/exclusions-wrap-flow-03-ref.xht b/testing/web-platform/tests/css/css-exclusions/css3-exclusions/exclusions-wrap-flow-03-ref.xht new file mode 100644 index 0000000000..88f921a3c3 --- /dev/null +++ b/testing/web-platform/tests/css/css-exclusions/css3-exclusions/exclusions-wrap-flow-03-ref.xht @@ -0,0 +1,66 @@ + + + + CSS Test: wrap-flow:none + + + + +

You should see a light green square centered in a solid 400px by 400px black background with a darker green area extending to the + left of the light green area and to the edge of the black background container. You should not see any red background.

+
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-exclusions/css3-exclusions/exclusions-wrap-flow-03.xht b/testing/web-platform/tests/css/css-exclusions/css3-exclusions/exclusions-wrap-flow-03.xht new file mode 100644 index 0000000000..48802eac21 --- /dev/null +++ b/testing/web-platform/tests/css/css-exclusions/css3-exclusions/exclusions-wrap-flow-03.xht @@ -0,0 +1,77 @@ + + + + CSS Test: wrap-flow:none + + + + + + + +

You should see a light green square centered in a solid 400px by 400px black background with a darker green area extending to the + left of the light green area and to the edge of the black background container. You should not see any red background.

+
+ + diff --git a/testing/web-platform/tests/css/css-exclusions/css3-exclusions/exclusions-wrap-flow-04-ref.xht b/testing/web-platform/tests/css/css-exclusions/css3-exclusions/exclusions-wrap-flow-04-ref.xht new file mode 100644 index 0000000000..840d0b2634 --- /dev/null +++ b/testing/web-platform/tests/css/css-exclusions/css3-exclusions/exclusions-wrap-flow-04-ref.xht @@ -0,0 +1,58 @@ + + + + CSS Test: wrap-flow:none + + + + +

You should see a light green square centered in a solid dark green 100px high dark green stripe on top of a 400px by 400px black background. You should not see any red background.

+
+ + \ No newline at end of file diff --git a/testing/web-platform/tests/css/css-exclusions/css3-exclusions/exclusions-wrap-flow-04.xht b/testing/web-platform/tests/css/css-exclusions/css3-exclusions/exclusions-wrap-flow-04.xht new file mode 100644 index 0000000000..ca2c7e35de --- /dev/null +++ b/testing/web-platform/tests/css/css-exclusions/css3-exclusions/exclusions-wrap-flow-04.xht @@ -0,0 +1,76 @@ + + + + CSS Test: wrap-flow:none + + + + + + + +

You should see a light green square centered in a solid dark green 100px high dark green stripe on top of a 400px by 400px black background. You should not see any red background.

+
+ + diff --git a/testing/web-platform/tests/css/css-exclusions/inheritance.html b/testing/web-platform/tests/css/css-exclusions/inheritance.html new file mode 100644 index 0000000000..b083ed8a50 --- /dev/null +++ b/testing/web-platform/tests/css/css-exclusions/inheritance.html @@ -0,0 +1,22 @@ + + + + +Inheritance of CSS Exclusions properties + + + + + + + + +
+
+
+ + + diff --git a/testing/web-platform/tests/css/css-exclusions/resources/helper.js b/testing/web-platform/tests/css/css-exclusions/resources/helper.js new file mode 100644 index 0000000000..6cd9ffddc4 --- /dev/null +++ b/testing/web-platform/tests/css/css-exclusions/resources/helper.js @@ -0,0 +1,14 @@ +function checkLinePos(spanID,expectedPos,coordToCheck) { + if(coordToCheck == "top") + var spanToCheck = document.getElementById(spanID).getBoundingClientRect().top; + else if(coordToCheck == "right") + var spanToCheck = document.getElementById(spanID).getBoundingClientRect().right; + else if(coordToCheck == "left") + var spanToCheck = document.getElementById(spanID).getBoundingClientRect().left; + else + var spanToCheck = document.getElementById(spanID).getBoundingClientRect().bottom; + + /* Verify that the span appears where expected. It should be at expectedPos + Test will allow 1/4 line height (3px) of leeway for minor spacing differences */ + return( (spanToCheck >= expectedPos) && (spanToCheck <= (expectedPos+3)) ) +} diff --git a/testing/web-platform/tests/css/css-exclusions/wrap-flow-001.html b/testing/web-platform/tests/css/css-exclusions/wrap-flow-001.html new file mode 100644 index 0000000000..f87c5baf8b --- /dev/null +++ b/testing/web-platform/tests/css/css-exclusions/wrap-flow-001.html @@ -0,0 +1,52 @@ + + + + CSS Exclusions Test: wrap-flow property set to clear + + + + + + + + + + + +
+ +
A
B
C
D
E
+
+ +
+ + + + diff --git a/testing/web-platform/tests/css/css-exclusions/wrap-flow-002.html b/testing/web-platform/tests/css/css-exclusions/wrap-flow-002.html new file mode 100644 index 0000000000..4f56a99a24 --- /dev/null +++ b/testing/web-platform/tests/css/css-exclusions/wrap-flow-002.html @@ -0,0 +1,58 @@ + + + + CSS Exclusions Test: wrap-flow property set to start + + + + + + + + + + + +
+ +
+ ethical
beer
craft
+ foo + sed + Vegan
cliche
retro
+
+ +
+ + + + diff --git a/testing/web-platform/tests/css/css-exclusions/wrap-flow-003.html b/testing/web-platform/tests/css/css-exclusions/wrap-flow-003.html new file mode 100644 index 0000000000..f48d8a8fbb --- /dev/null +++ b/testing/web-platform/tests/css/css-exclusions/wrap-flow-003.html @@ -0,0 +1,59 @@ + + + + CSS Exclusions Test: wrap-flow property set to auto + + + + + + + + + + + +
+ +
+ ethical beer craft
+ Fixie pork belly
+ food truck in marfa
+ american apparel squid +
+ +
+ + + + diff --git a/testing/web-platform/tests/css/css-exclusions/wrap-flow-004.html b/testing/web-platform/tests/css/css-exclusions/wrap-flow-004.html new file mode 100644 index 0000000000..c2369a12ee --- /dev/null +++ b/testing/web-platform/tests/css/css-exclusions/wrap-flow-004.html @@ -0,0 +1,70 @@ + + + + CSS Exclusions Test: wrap-flow property set to both + + + + + + + + + + + +
+ +
+ ethical beer craft
+ jean vegan
+ fund selvage
+ swags unami
+ american apparel squid +
+ +
+ + + + diff --git a/testing/web-platform/tests/css/css-exclusions/wrap-flow-005.html b/testing/web-platform/tests/css/css-exclusions/wrap-flow-005.html new file mode 100644 index 0000000000..d16c8479ca --- /dev/null +++ b/testing/web-platform/tests/css/css-exclusions/wrap-flow-005.html @@ -0,0 +1,70 @@ + + + + CSS Exclusions Test: wrap-flow property set to end + + + + + + + + + + + +
+ +
+ ethical beer craft
+ jean
+ fun
+ swags
+ american apparel squid +
+ +
+ + + + diff --git a/testing/web-platform/tests/css/css-exclusions/wrap-flow-006.html b/testing/web-platform/tests/css/css-exclusions/wrap-flow-006.html new file mode 100644 index 0000000000..d9c107ae75 --- /dev/null +++ b/testing/web-platform/tests/css/css-exclusions/wrap-flow-006.html @@ -0,0 +1,66 @@ + + + + CSS Exclusions Test: wrap-flow property set to maximum + + + + + + + + + + + +
+ +
+ ethical
beer
craft
+ foo + sed + Vegan
cliche
retro
+
+ +
+ + + + diff --git a/testing/web-platform/tests/css/css-exclusions/wrap-through-001.html b/testing/web-platform/tests/css/css-exclusions/wrap-through-001.html new file mode 100644 index 0000000000..8c2f9d797b --- /dev/null +++ b/testing/web-platform/tests/css/css-exclusions/wrap-through-001.html @@ -0,0 +1,73 @@ + + + + CSS Exclusions Test: wrap-through property set to none + + + + + + + + + + + +
+
+ +
+ ethical beer craft
+ jean vegan
+ fund selvage
+
+
+ swags unami +
+
+ +
+ + + + -- cgit v1.2.3