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-anchor-position/anchor-name-001.html | 38 +++++ .../css/css-anchor-position/anchor-name-002.html | 51 ++++++ .../css/css-anchor-position/anchor-name-003.html | 136 ++++++++++++++++ .../css-anchor-position/anchor-name-basics.html | 40 +++++ .../anchor-name-cross-shadow.html | 54 +++++++ .../css-anchor-position/anchor-name-in-shadow.html | 53 +++++++ .../anchor-name-inline-001.html | 55 +++++++ .../anchor-name-multicol-001.html | 54 +++++++ .../anchor-name-multicol-002.html | 61 +++++++ .../anchor-name-multicol-003.html | 65 ++++++++ .../anchor-name-multicol-004.html | 59 +++++++ .../css-anchor-position/anchor-parse-invalid.html | 41 +++++ .../css-anchor-position/anchor-parse-valid.html | 67 ++++++++ .../css-anchor-position/anchor-position-001.html | 54 +++++++ .../css-anchor-position/anchor-position-002.html | 72 +++++++++ .../css-anchor-position/anchor-position-003.html | 58 +++++++ .../css-anchor-position/anchor-position-004.html | 116 ++++++++++++++ .../anchor-position-borders-001.html | 135 ++++++++++++++++ .../anchor-position-borders-002.html | 85 ++++++++++ .../anchor-position-dynamic-001.html | 65 ++++++++ .../anchor-position-dynamic-002.html | 54 +++++++ .../anchor-position-dynamic-003.html | 105 +++++++++++++ .../anchor-position-dynamic-004.html | 47 ++++++ .../anchor-position-grid-001.html | 82 ++++++++++ .../anchor-position-inline-001.html | 36 +++++ .../anchor-position-inline-002.html | 37 +++++ .../anchor-position-inline-003.html | 37 +++++ .../anchor-position-inline-004.html | 175 +++++++++++++++++++++ .../anchor-position-multicol-001.html | 43 +++++ .../anchor-position-multicol-002.html | 109 +++++++++++++ .../anchor-position-multicol-003.html | 66 ++++++++ .../anchor-position-multicol-004.html | 83 ++++++++++ .../anchor-position-multicol-005.html | 64 ++++++++ .../anchor-position-multicol-006.html | 71 +++++++++ .../anchor-position-multicol-colspan-001.html | 100 ++++++++++++ .../anchor-position-multicol-colspan-002.html | 76 +++++++++ .../anchor-position-multicol-fixed-001.html | 77 +++++++++ .../anchor-position-multicol-nested-001.html | 79 ++++++++++ .../anchor-position-principal-box.html | 32 ++++ .../anchor-position-top-layer-001.html | 50 ++++++ .../anchor-position-top-layer-002.html | 50 ++++++ .../anchor-position-top-layer-003.html | 51 ++++++ .../anchor-position-top-layer-004.html | 51 ++++++ .../anchor-position-top-layer-005.html | 51 ++++++ .../anchor-position-top-layer-006.html | 51 ++++++ .../anchor-position-top-layer-ref.html | 34 ++++ .../anchor-position-writing-modes-001.html | 101 ++++++++++++ .../anchor-position-writing-modes-002.html | 103 ++++++++++++ .../anchor-query-custom-property-registration.html | 50 ++++++ .../css-anchor-position/anchor-query-fallback.html | 67 ++++++++ .../anchor-scroll-basics.tentative.html | 71 +++++++++ .../anchor-scroll-fallback-position-001.html | 101 ++++++++++++ .../anchor-scroll-fallback-position-002.html | 62 ++++++++ .../anchor-scroll-fallback-position-003.html | 73 +++++++++ .../anchor-scroll-fallback-position-004.html | 75 +++++++++ .../anchor-scroll-fallback-position-005.html | 63 ++++++++ .../anchor-scroll-fixedpos.tentative.html | 38 +++++ .../anchor-scroll-js-expose.tentative.html | 89 +++++++++++ .../anchor-scroll-nested.tentative.html | 90 +++++++++++ .../anchor-scroll-no-overflow-crash.html | 41 +++++ .../anchor-scroll-update-001.tentative.html | 83 ++++++++++ .../anchor-scroll-update-002.tentative.html | 84 ++++++++++ .../anchor-scroll-update-003.tentative.html | 81 ++++++++++ .../anchor-scroll-update-004.tentative.html | 93 +++++++++++ .../anchor-scroll-update-005.tentative.html | 56 +++++++ .../anchor-scroll-update-006.tentative.html | 56 +++++++ .../anchor-scroll-vlr.tentative.html | 81 ++++++++++ .../anchor-scroll-vrl.tentative.html | 81 ++++++++++ .../css/css-anchor-position/anchor-size-001.html | 42 +++++ .../anchor-size-minmax-001.html | 44 ++++++ .../anchor-size-parse-invalid.html | 42 +++++ .../anchor-size-parse-valid.html | 65 ++++++++ .../anchor-size-replaced-001.html | 74 +++++++++ .../anchor-size-writing-modes-001.html | 67 ++++++++ .../at-fallback-position-allowed-declarations.html | 97 ++++++++++++ .../at-fallback-position-parse.html | 39 +++++ ...-position-fallback-invalidation-shadow-dom.html | 50 ++++++ .../at-position-fallback-invalidation.html | 57 +++++++ .../css-anchor-position/position-fallback-001.html | 108 +++++++++++++ .../css-anchor-position/position-fallback-002.html | 61 +++++++ .../position-fallback-basics.html | 40 +++++ .../position-fallback-cascade-layer-reorder.html | 72 +++++++++ .../position-fallback-custom-property.html | 68 ++++++++ .../position-fallback-dynamic.html | 36 +++++ .../position-fallback-grid-001.html | 92 +++++++++++ .../position-fallback-tree-scoped.html | 159 +++++++++++++++++++ .../reference/anchor-scroll-fixedpos-ref.html | 32 ++++ .../reference/anchor-scroll-nested-ref.html | 74 +++++++++ .../reference/anchor-scroll-ref.html | 61 +++++++ .../reference/anchor-scroll-update-005-ref.html | 34 ++++ .../reference/anchor-scroll-update-006-ref.html | 34 ++++ .../reference/anchor-scroll-vlr-ref.html | 70 +++++++++ .../reference/anchor-scroll-vrl-ref.html | 70 +++++++++ .../sticky-anchor-position-invalid-ref.html | 28 ++++ .../sticky-anchor-position-invalid.html | 32 ++++ .../css-anchor-position/support/green-16x16.png | Bin 0 -> 92 bytes .../css/css-anchor-position/support/test-common.js | 27 ++++ 97 files changed, 6384 insertions(+) create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-name-001.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-name-002.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-name-003.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-name-basics.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-name-cross-shadow.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-name-in-shadow.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-name-inline-001.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-name-multicol-001.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-name-multicol-002.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-name-multicol-003.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-name-multicol-004.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-parse-invalid.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-parse-valid.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-position-001.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-position-002.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-position-003.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-position-004.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-position-borders-001.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-position-borders-002.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-position-dynamic-001.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-position-dynamic-002.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-position-dynamic-003.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-position-dynamic-004.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-position-grid-001.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-position-inline-001.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-position-inline-002.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-position-inline-003.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-position-inline-004.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-position-multicol-001.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-position-multicol-002.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-position-multicol-003.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-position-multicol-004.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-position-multicol-005.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-position-multicol-006.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-position-multicol-colspan-001.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-position-multicol-colspan-002.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-position-multicol-fixed-001.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-position-multicol-nested-001.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-position-principal-box.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-position-top-layer-001.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-position-top-layer-002.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-position-top-layer-003.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-position-top-layer-004.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-position-top-layer-005.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-position-top-layer-006.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-position-top-layer-ref.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-position-writing-modes-001.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-position-writing-modes-002.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-query-custom-property-registration.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-query-fallback.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-scroll-basics.tentative.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-scroll-fallback-position-001.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-scroll-fallback-position-002.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-scroll-fallback-position-003.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-scroll-fallback-position-004.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-scroll-fallback-position-005.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-scroll-fixedpos.tentative.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-scroll-js-expose.tentative.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-scroll-nested.tentative.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-scroll-no-overflow-crash.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-scroll-update-001.tentative.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-scroll-update-002.tentative.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-scroll-update-003.tentative.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-scroll-update-004.tentative.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-scroll-update-005.tentative.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-scroll-update-006.tentative.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-scroll-vlr.tentative.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-scroll-vrl.tentative.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-size-001.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-size-minmax-001.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-size-parse-invalid.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-size-parse-valid.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-size-replaced-001.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-size-writing-modes-001.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/at-fallback-position-allowed-declarations.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/at-fallback-position-parse.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/at-position-fallback-invalidation-shadow-dom.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/at-position-fallback-invalidation.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/position-fallback-001.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/position-fallback-002.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/position-fallback-basics.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/position-fallback-cascade-layer-reorder.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/position-fallback-custom-property.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/position-fallback-dynamic.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/position-fallback-grid-001.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/position-fallback-tree-scoped.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/reference/anchor-scroll-fixedpos-ref.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/reference/anchor-scroll-nested-ref.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/reference/anchor-scroll-ref.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/reference/anchor-scroll-update-005-ref.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/reference/anchor-scroll-update-006-ref.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/reference/anchor-scroll-vlr-ref.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/reference/anchor-scroll-vrl-ref.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/reference/sticky-anchor-position-invalid-ref.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/sticky-anchor-position-invalid.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/support/green-16x16.png create mode 100644 testing/web-platform/tests/css/css-anchor-position/support/test-common.js (limited to 'testing/web-platform/tests/css/css-anchor-position') diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-name-001.html b/testing/web-platform/tests/css/css-anchor-position/anchor-name-001.html new file mode 100644 index 0000000000..f85c9248d9 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-name-001.html @@ -0,0 +1,38 @@ + + + + + + + + + +
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-name-002.html b/testing/web-platform/tests/css/css-anchor-position/anchor-name-002.html new file mode 100644 index 0000000000..88728f6f47 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-name-002.html @@ -0,0 +1,51 @@ + + + + + + + + +
+
+
+
+
+
+ +
+
+ +
+
+ +
+
+
+ +
+
+ diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-name-003.html b/testing/web-platform/tests/css/css-anchor-position/anchor-name-003.html new file mode 100644 index 0000000000..998e6433d2 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-name-003.html @@ -0,0 +1,136 @@ + + + + + + + + + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-name-basics.html b/testing/web-platform/tests/css/css-anchor-position/anchor-name-basics.html new file mode 100644 index 0000000000..1d88b94137 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-name-basics.html @@ -0,0 +1,40 @@ + +Tests basics of the 'anchor-name' property + + + + + + + + + +
+
+
+ + diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-name-cross-shadow.html b/testing/web-platform/tests/css/css-anchor-position/anchor-name-cross-shadow.html new file mode 100644 index 0000000000..cc494831a8 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-name-cross-shadow.html @@ -0,0 +1,54 @@ + +Tests that the anchor element can be in a different tree scope + + + + + + +
+
+
+
+ +
+
+
+ + diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-name-in-shadow.html b/testing/web-platform/tests/css/css-anchor-position/anchor-name-in-shadow.html new file mode 100644 index 0000000000..7e505ed592 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-name-in-shadow.html @@ -0,0 +1,53 @@ + +anchor-name is a tree scoped reference + + + + +
+
+
+
+ + +
+ diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-name-inline-001.html b/testing/web-platform/tests/css/css-anchor-position/anchor-name-inline-001.html new file mode 100644 index 0000000000..024225fecb --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-name-inline-001.html @@ -0,0 +1,55 @@ + + + + + + + + + +
+
+
+ + + 123 + 12 + + + + + +
+
+ diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-name-multicol-001.html b/testing/web-platform/tests/css/css-anchor-position/anchor-name-multicol-001.html new file mode 100644 index 0000000000..13ff9524b7 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-name-multicol-001.html @@ -0,0 +1,54 @@ + +Anchors in a different containing block in multicol + + + + + + + + +
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-name-multicol-002.html b/testing/web-platform/tests/css/css-anchor-position/anchor-name-multicol-002.html new file mode 100644 index 0000000000..292b6f295a --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-name-multicol-002.html @@ -0,0 +1,61 @@ + +Anchors in OOF in multicol + + + + + + + + + +
+
+
+
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-name-multicol-003.html b/testing/web-platform/tests/css/css-anchor-position/anchor-name-multicol-003.html new file mode 100644 index 0000000000..a343a732ad --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-name-multicol-003.html @@ -0,0 +1,65 @@ + +Anchor name resolution of OOF anchors in multicol + + + + + + + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-name-multicol-004.html b/testing/web-platform/tests/css/css-anchor-position/anchor-name-multicol-004.html new file mode 100644 index 0000000000..11287c0c60 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-name-multicol-004.html @@ -0,0 +1,59 @@ + +Anchor name resolution of OOF anchors in multicol + + + + + + + + +
+
+
+
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-parse-invalid.html b/testing/web-platform/tests/css/css-anchor-position/anchor-parse-invalid.html new file mode 100644 index 0000000000..de4b0ffac4 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-parse-invalid.html @@ -0,0 +1,41 @@ + +Tests values that are invalid at parse time for the anchor() function + + + + + + + diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-parse-valid.html b/testing/web-platform/tests/css/css-anchor-position/anchor-parse-valid.html new file mode 100644 index 0000000000..14d233e5f4 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-parse-valid.html @@ -0,0 +1,67 @@ + +Tests parsing of the anchor() function + + + + + + + diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-position-001.html b/testing/web-platform/tests/css/css-anchor-position/anchor-position-001.html new file mode 100644 index 0000000000..68e62e5479 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-position-001.html @@ -0,0 +1,54 @@ + +Tests `anchor` function for top/left/bottom/right properties + + + + + + + +
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-position-002.html b/testing/web-platform/tests/css/css-anchor-position/anchor-position-002.html new file mode 100644 index 0000000000..0e4b2808d3 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-position-002.html @@ -0,0 +1,72 @@ + + + + + + + + + +
+
+
+
+
+ +
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-position-003.html b/testing/web-platform/tests/css/css-anchor-position/anchor-position-003.html new file mode 100644 index 0000000000..fe8ec3a8d6 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-position-003.html @@ -0,0 +1,58 @@ + + + + + + + + + +
+
+
+
+
+ +
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-position-004.html b/testing/web-platform/tests/css/css-anchor-position/anchor-position-004.html new file mode 100644 index 0000000000..d6d4d64276 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-position-004.html @@ -0,0 +1,116 @@ + +The `anchor()` function with percentages + + + + + + + +
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+
+
+ +
+
+
+ +
+
+ +
+
+ +
+
+ +
+
+
+ diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-position-borders-001.html b/testing/web-platform/tests/css/css-anchor-position/anchor-position-borders-001.html new file mode 100644 index 0000000000..5bbe3d7914 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-position-borders-001.html @@ -0,0 +1,135 @@ + + + + + + + + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-position-borders-002.html b/testing/web-platform/tests/css/css-anchor-position/anchor-position-borders-002.html new file mode 100644 index 0000000000..a3813750bf --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-position-borders-002.html @@ -0,0 +1,85 @@ + + + + + + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-position-dynamic-001.html b/testing/web-platform/tests/css/css-anchor-position/anchor-position-dynamic-001.html new file mode 100644 index 0000000000..5b5ee82990 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-position-dynamic-001.html @@ -0,0 +1,65 @@ + +Tests `anchor` function when anchor positions are changed dynamically + + + + + + + +
+
+
+
+ + diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-position-dynamic-002.html b/testing/web-platform/tests/css/css-anchor-position/anchor-position-dynamic-002.html new file mode 100644 index 0000000000..f70f93441d --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-position-dynamic-002.html @@ -0,0 +1,54 @@ + + + + + + + + +
+ +
+
+
+ + +
+
+
+
+
+
+ + diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-position-dynamic-003.html b/testing/web-platform/tests/css/css-anchor-position/anchor-position-dynamic-003.html new file mode 100644 index 0000000000..04ccd56c77 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-position-dynamic-003.html @@ -0,0 +1,105 @@ + +Tests that anchor layout changes in another BFC cause relayout on the anchored element + + + + + + + +
+
+
+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+
+ + + diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-position-dynamic-004.html b/testing/web-platform/tests/css/css-anchor-position/anchor-position-dynamic-004.html new file mode 100644 index 0000000000..b818e23c7f --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-position-dynamic-004.html @@ -0,0 +1,47 @@ + + + + + + + + +
+
+
+
+
+ +
+
+ + diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-position-grid-001.html b/testing/web-platform/tests/css/css-anchor-position/anchor-position-grid-001.html new file mode 100644 index 0000000000..8178f212fe --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-position-grid-001.html @@ -0,0 +1,82 @@ + + + + + + + + + +
+
+
+
+
+
1
+
2
+
3
+
+ +
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-position-inline-001.html b/testing/web-platform/tests/css/css-anchor-position/anchor-position-inline-001.html new file mode 100644 index 0000000000..09acf6be8b --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-position-inline-001.html @@ -0,0 +1,36 @@ + + + + + + + + + +
+
spacer
+
+
+ 012345678 +
+ +
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-position-inline-002.html b/testing/web-platform/tests/css/css-anchor-position/anchor-position-inline-002.html new file mode 100644 index 0000000000..c366db4b28 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-position-inline-002.html @@ -0,0 +1,37 @@ + + + + + + + + + +
+
spacer
+
+
+ + 012345 789000 +
+ +
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-position-inline-003.html b/testing/web-platform/tests/css/css-anchor-position/anchor-position-inline-003.html new file mode 100644 index 0000000000..17ab508583 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-position-inline-003.html @@ -0,0 +1,37 @@ + + + + + + + + + +
+
spacer
+
+
+ + a1‮2‭z +
+ +
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-position-inline-004.html b/testing/web-platform/tests/css/css-anchor-position/anchor-position-inline-004.html new file mode 100644 index 0000000000..58da8be7c7 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-position-inline-004.html @@ -0,0 +1,175 @@ + + + + + + + + + + + + +
+
spacer
+
+ 0 + + 12 + a1 + 34 + + + + + +
+ + +
+ + +
+
+ 0 + + 12 + a1 a1 a1 + 345 + + + + + +
+ + +
+ + +
+
+ 0 + + 12 + a1
a1
+ 345 + + +
+ + +
+ + +
+ + +
+
+
+ 0 + + 12 + a1 a1 a1 + 345 + + + + + +
+ + +
+ diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-position-multicol-001.html b/testing/web-platform/tests/css/css-anchor-position/anchor-position-multicol-001.html new file mode 100644 index 0000000000..777df1b84c --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-position-multicol-001.html @@ -0,0 +1,43 @@ + + + + + + + + + +
+
spacer
+
+
+
+
+ +
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-position-multicol-002.html b/testing/web-platform/tests/css/css-anchor-position/anchor-position-multicol-002.html new file mode 100644 index 0000000000..748f9ad2b5 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-position-multicol-002.html @@ -0,0 +1,109 @@ + + + + + + + + + + +

The green box should be a union of blue boxes, + and the purple box should be at the right-bottom of the green box. +

+
+
+
+
+
+ +
+
+
+ + +
+
+
+
+
+ + +
+
+
+
+
+ + +
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-position-multicol-003.html b/testing/web-platform/tests/css/css-anchor-position/anchor-position-multicol-003.html new file mode 100644 index 0000000000..3685d0782c --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-position-multicol-003.html @@ -0,0 +1,66 @@ + +Tests anchors on out-of-flow boxes + + + + + + + + + +
+
+
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-position-multicol-004.html b/testing/web-platform/tests/css/css-anchor-position/anchor-position-multicol-004.html new file mode 100644 index 0000000000..dea289f07e --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-position-multicol-004.html @@ -0,0 +1,83 @@ + +Tests resolving anchor-name conflicts in multicol + + + + + + + + + +

The green box should be a union of blue boxes, + and the purple box should be at the right-bottom of the green box. +

+
+
+
+
+ +
+
+
+
+
+ +
+
+
+ +
+
+
+ diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-position-multicol-005.html b/testing/web-platform/tests/css/css-anchor-position/anchor-position-multicol-005.html new file mode 100644 index 0000000000..92f468ceda --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-position-multicol-005.html @@ -0,0 +1,64 @@ + +Overflow pushing anchors to later fragmentainers than querying element in multicol + + + + + + + + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-position-multicol-006.html b/testing/web-platform/tests/css/css-anchor-position/anchor-position-multicol-006.html new file mode 100644 index 0000000000..2b9f55c024 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-position-multicol-006.html @@ -0,0 +1,71 @@ + +Tests two OOF anchors in different containing blocks in multicol. + + + + + + + + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-position-multicol-colspan-001.html b/testing/web-platform/tests/css/css-anchor-position/anchor-position-multicol-colspan-001.html new file mode 100644 index 0000000000..705f872a79 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-position-multicol-colspan-001.html @@ -0,0 +1,100 @@ + +Anchors in column spanners in multicol + + + + + + + + + +
+
+
+
+
+
+
+ +
+ +
+
+ +
+
+ +
+
+
+ +
+
+ +
+
+ diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-position-multicol-colspan-002.html b/testing/web-platform/tests/css/css-anchor-position/anchor-position-multicol-colspan-002.html new file mode 100644 index 0000000000..b6e720da18 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-position-multicol-colspan-002.html @@ -0,0 +1,76 @@ + +Anchors in column-spanner in multicol + + + + + + + + + +
+
+
+
+
+
+
+
+
+
+ +
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-position-multicol-fixed-001.html b/testing/web-platform/tests/css/css-anchor-position/anchor-position-multicol-fixed-001.html new file mode 100644 index 0000000000..4321c20def --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-position-multicol-fixed-001.html @@ -0,0 +1,77 @@ + +Anchors on fixed positioned objects in multicol + + + + + + + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-position-multicol-nested-001.html b/testing/web-platform/tests/css/css-anchor-position/anchor-position-multicol-nested-001.html new file mode 100644 index 0000000000..d83b8ddd95 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-position-multicol-nested-001.html @@ -0,0 +1,79 @@ + +Anchors in nested multicol + + + + + + + + + +

The green box should be a union of blue boxes, + and the purple box should be at the right-bottom of the green box. +

+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-position-principal-box.html b/testing/web-platform/tests/css/css-anchor-position/anchor-position-principal-box.html new file mode 100644 index 0000000000..9bb1fd4c4d --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-position-principal-box.html @@ -0,0 +1,32 @@ + +anchor-name only applies to elements which generate a principal box + + + + +
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-position-top-layer-001.html b/testing/web-platform/tests/css/css-anchor-position/anchor-position-top-layer-001.html new file mode 100644 index 0000000000..c96f6eef55 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-position-top-layer-001.html @@ -0,0 +1,50 @@ + +Top-layer element can anchor to non-top-layer absolutely positioned element + + + + + + +
+ + + diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-position-top-layer-002.html b/testing/web-platform/tests/css/css-anchor-position/anchor-position-top-layer-002.html new file mode 100644 index 0000000000..e626e6b935 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-position-top-layer-002.html @@ -0,0 +1,50 @@ + +Top-layer element can anchor to non-top-layer fixed positioned element + + + + + + +
+ + + diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-position-top-layer-003.html b/testing/web-platform/tests/css/css-anchor-position/anchor-position-top-layer-003.html new file mode 100644 index 0000000000..39f3c362c7 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-position-top-layer-003.html @@ -0,0 +1,51 @@ + +Top-layer element can anchor to preceeding top-layer absolutely positioned element + + + + + + + + + + diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-position-top-layer-004.html b/testing/web-platform/tests/css/css-anchor-position/anchor-position-top-layer-004.html new file mode 100644 index 0000000000..8e189e0e7b --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-position-top-layer-004.html @@ -0,0 +1,51 @@ + +Top-layer element can anchor to preceeding top-layer fixed positioned element + + + + + + + + + + diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-position-top-layer-005.html b/testing/web-platform/tests/css/css-anchor-position/anchor-position-top-layer-005.html new file mode 100644 index 0000000000..d9e4fa86e1 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-position-top-layer-005.html @@ -0,0 +1,51 @@ + +Non-top-layer element cannot anchor to top-layer element + + + + + + + +
+ + diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-position-top-layer-006.html b/testing/web-platform/tests/css/css-anchor-position/anchor-position-top-layer-006.html new file mode 100644 index 0000000000..5f5cd67a1d --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-position-top-layer-006.html @@ -0,0 +1,51 @@ + +Top-layer element cannot anchor to succeeding top-layer element + + + + + + + + + + diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-position-top-layer-ref.html b/testing/web-platform/tests/css/css-anchor-position/anchor-position-top-layer-ref.html new file mode 100644 index 0000000000..dc7f77f2b3 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-position-top-layer-ref.html @@ -0,0 +1,34 @@ + +Tests anchor positioning with top-layer elements + + + +
+
+ + diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-position-writing-modes-001.html b/testing/web-platform/tests/css/css-anchor-position/anchor-position-writing-modes-001.html new file mode 100644 index 0000000000..c75a7c1e39 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-position-writing-modes-001.html @@ -0,0 +1,101 @@ + +Tests `anchor` function for `writing-mode`/`direction`s + + + + + +
+
+
+
+
+ + diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-position-writing-modes-002.html b/testing/web-platform/tests/css/css-anchor-position/anchor-position-writing-modes-002.html new file mode 100644 index 0000000000..834835ef21 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-position-writing-modes-002.html @@ -0,0 +1,103 @@ + +Tests logical `anchor` function for `writing-mode`/`direction`s + + + + + + + + + diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-query-custom-property-registration.html b/testing/web-platform/tests/css/css-anchor-position/anchor-query-custom-property-registration.html new file mode 100644 index 0000000000..af211a0ee5 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-query-custom-property-registration.html @@ -0,0 +1,50 @@ + +Tests using anchor queries in custom property initial value + + + + + + + diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-query-fallback.html b/testing/web-platform/tests/css/css-anchor-position/anchor-query-fallback.html new file mode 100644 index 0000000000..8d413fd862 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-query-fallback.html @@ -0,0 +1,67 @@ + +Tests the fallback value in anchor queries + + + + + + + + + +
+
+
+
+
+
+
+
+
+ + +
+
+ + +
+
+
+
+ + +
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-basics.tentative.html b/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-basics.tentative.html new file mode 100644 index 0000000000..fa42e33d92 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-basics.tentative.html @@ -0,0 +1,71 @@ + +Basic of anchor-scroll: anchored elements should be "pinned" to the anchor when anchor is scrolled + + + + + + +
+
+
+
+
+ anchor +
inner-anchored
+
+
+
outer-anchored
+
+ + diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-fallback-position-001.html b/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-fallback-position-001.html new file mode 100644 index 0000000000..a9a5d8c0ff --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-fallback-position-001.html @@ -0,0 +1,101 @@ + +Tests that position fallback responds to scrolling + + + + + + + + +
+
+
+
+
+
+ + diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-fallback-position-002.html b/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-fallback-position-002.html new file mode 100644 index 0000000000..e51f675fff --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-fallback-position-002.html @@ -0,0 +1,62 @@ + + +Tests position fallback with rtl scroller + + + + + + + + + +
+
+
+ + + + diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-fallback-position-003.html b/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-fallback-position-003.html new file mode 100644 index 0000000000..ae212f9190 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-fallback-position-003.html @@ -0,0 +1,73 @@ + +Tests position fallback with bottom-up scroller + + + + + + + + + +
+
+
+
+
+
+
+
+
+
+ + diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-fallback-position-004.html b/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-fallback-position-004.html new file mode 100644 index 0000000000..0227fa753e --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-fallback-position-004.html @@ -0,0 +1,75 @@ + +Tests position fallback with scrollers with mixed writing modes + + + + + + + + + +
+
+
+
+
+
+ + diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-fallback-position-005.html b/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-fallback-position-005.html new file mode 100644 index 0000000000..3dedd4d7e6 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-fallback-position-005.html @@ -0,0 +1,63 @@ + + +Tests position fallback with rtl scroller and vertical-rl OOF + + + + + + + + + +
+
+
+ + + + diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-fixedpos.tentative.html b/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-fixedpos.tentative.html new file mode 100644 index 0000000000..ee7d22608b --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-fixedpos.tentative.html @@ -0,0 +1,38 @@ + +Tests that anchor-scroll adjusts location of fixed-positioned elements correctly + + + + + +
+
+ + diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-js-expose.tentative.html b/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-js-expose.tentative.html new file mode 100644 index 0000000000..f19d010d35 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-js-expose.tentative.html @@ -0,0 +1,89 @@ + +Tests that anchor element's actual rendered location is property exposed via JS APIs under anchor-scroll + + + + + + +
+
+
+
+
Text
+
+ + diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-nested.tentative.html b/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-nested.tentative.html new file mode 100644 index 0000000000..964b02a5b0 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-nested.tentative.html @@ -0,0 +1,90 @@ + + +Tests anchor-scroll with nested scroll containers + + + + + +
+
+
+
+
+
+ +
+ + diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-no-overflow-crash.html b/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-no-overflow-crash.html new file mode 100644 index 0000000000..d8fa3821cf --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-no-overflow-crash.html @@ -0,0 +1,41 @@ + +Tests that anchor-scroll doesn't crash renderer when anchor is in a scroller whose content doesn't overflow + + + + +
+
+
anchor
+
+
anchored
+
diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-update-001.tentative.html b/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-update-001.tentative.html new file mode 100644 index 0000000000..9400136e98 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-update-001.tentative.html @@ -0,0 +1,83 @@ + + +Basic of anchor-scroll: anchored elements should keep "pinned" to the anchor during anchor scroll updates + + + + + + +
+
+
+
+
+ anchor +
inner-anchored
+
+
+
outer-anchored
+
+ + + diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-update-002.tentative.html b/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-update-002.tentative.html new file mode 100644 index 0000000000..4e8fcbe295 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-update-002.tentative.html @@ -0,0 +1,84 @@ + + +Basic of anchor-scroll: anchored elements should update location on `anchor-scroll` property changes + + + + + + +
+
+
+
+
+ anchor +
inner-anchored
+
+
+
outer-anchored
+
+ + + diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-update-003.tentative.html b/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-update-003.tentative.html new file mode 100644 index 0000000000..0d3ec2830c --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-update-003.tentative.html @@ -0,0 +1,81 @@ + + +Basic of anchor-scroll: anchored elements should update location on anchor's `anchor-name` property changes + + + + + + +
+
+
+
+
+ anchor +
inner-anchored
+
+
+
outer-anchored
+
+ + + diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-update-004.tentative.html b/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-update-004.tentative.html new file mode 100644 index 0000000000..7d1aadc95d --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-update-004.tentative.html @@ -0,0 +1,93 @@ + + +Basic of anchor-scroll: anchored elements should update location on anchor's layout changes + + + + + + +
+
+
+
+
+ anchor +
inner-anchored
+
+
+
outer-anchored
+
+ + + diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-update-005.tentative.html b/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-update-005.tentative.html new file mode 100644 index 0000000000..5675507a47 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-update-005.tentative.html @@ -0,0 +1,56 @@ + + +Tests that anchored element should update location after scroll offset changes caused by scroller resizing + + + + +
+
+
+
+
+
+
+ + diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-update-006.tentative.html b/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-update-006.tentative.html new file mode 100644 index 0000000000..7a8e675baa --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-update-006.tentative.html @@ -0,0 +1,56 @@ + + +Tests that anchored element should update location after scroll offset changes caused by scroll content resizing + + + + +
+
+
+
+
+
+
+ + diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-vlr.tentative.html b/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-vlr.tentative.html new file mode 100644 index 0000000000..82d167f48d --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-vlr.tentative.html @@ -0,0 +1,81 @@ + +Tests that anchor-scroll works in vertical-lr writing mode + + + + + + +
+
+
+
+
+ anchor +
inner-anchored
+
+
+
outer-anchored
+
+ + diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-vrl.tentative.html b/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-vrl.tentative.html new file mode 100644 index 0000000000..55b7355897 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-vrl.tentative.html @@ -0,0 +1,81 @@ + +Tests that anchor-scroll works in vertical-rl writing mode + + + + + + +
+
+
+
+
+ anchor +
inner-anchored
+
+
+
outer-anchored
+
+ + diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-size-001.html b/testing/web-platform/tests/css/css-anchor-position/anchor-size-001.html new file mode 100644 index 0000000000..e5a0dfde1f --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-size-001.html @@ -0,0 +1,42 @@ + + + + + + + + +
+
+ + +
+
+
+
+
+
+ + +
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-size-minmax-001.html b/testing/web-platform/tests/css/css-anchor-position/anchor-size-minmax-001.html new file mode 100644 index 0000000000..f7fb07b0af --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-size-minmax-001.html @@ -0,0 +1,44 @@ + + + + + + + + +
+
+ +
+
+ +
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-size-parse-invalid.html b/testing/web-platform/tests/css/css-anchor-position/anchor-size-parse-invalid.html new file mode 100644 index 0000000000..d13f21a585 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-size-parse-invalid.html @@ -0,0 +1,42 @@ + +Tests values that are invalid at parse time for the anchor-size() function + + + + + + + diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-size-parse-valid.html b/testing/web-platform/tests/css/css-anchor-position/anchor-size-parse-valid.html new file mode 100644 index 0000000000..9ed4d04223 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-size-parse-valid.html @@ -0,0 +1,65 @@ + +Tests parsing of the anchor-size() function + + + + + + + diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-size-replaced-001.html b/testing/web-platform/tests/css/css-anchor-position/anchor-size-replaced-001.html new file mode 100644 index 0000000000..e5d133acf7 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-size-replaced-001.html @@ -0,0 +1,74 @@ + + + + + + + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
+ diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-size-writing-modes-001.html b/testing/web-platform/tests/css/css-anchor-position/anchor-size-writing-modes-001.html new file mode 100644 index 0000000000..c9e0619741 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-size-writing-modes-001.html @@ -0,0 +1,67 @@ + + + + + + + + +
+
+ + +
+
+
+
+
+
+ + +
+
+
+
+
+
+
+
+
+ + +
+
+
+
+
+
+ + +
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-anchor-position/at-fallback-position-allowed-declarations.html b/testing/web-platform/tests/css/css-anchor-position/at-fallback-position-allowed-declarations.html new file mode 100644 index 0000000000..873fa13140 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/at-fallback-position-allowed-declarations.html @@ -0,0 +1,97 @@ + +Tests which properties are allowed in @fallback-position + + + + + + diff --git a/testing/web-platform/tests/css/css-anchor-position/at-fallback-position-parse.html b/testing/web-platform/tests/css/css-anchor-position/at-fallback-position-parse.html new file mode 100644 index 0000000000..942d9a2984 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/at-fallback-position-parse.html @@ -0,0 +1,39 @@ + +Tests parsing of @fallback-position rule + + + + + + diff --git a/testing/web-platform/tests/css/css-anchor-position/at-position-fallback-invalidation-shadow-dom.html b/testing/web-platform/tests/css/css-anchor-position/at-position-fallback-invalidation-shadow-dom.html new file mode 100644 index 0000000000..569278ac90 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/at-position-fallback-invalidation-shadow-dom.html @@ -0,0 +1,50 @@ + +CSS Anchor Positioning Test: Dynamically change @position-fallback rules in Shadow DOM + + + + + + +
+ +
+
+ + diff --git a/testing/web-platform/tests/css/css-anchor-position/at-position-fallback-invalidation.html b/testing/web-platform/tests/css/css-anchor-position/at-position-fallback-invalidation.html new file mode 100644 index 0000000000..68a0874931 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/at-position-fallback-invalidation.html @@ -0,0 +1,57 @@ + +CSS Anchor Positioning Test: Dynamically change @position-fallback rules + + + + + + + +
+
anchor
+
anchored
+
+ + diff --git a/testing/web-platform/tests/css/css-anchor-position/position-fallback-001.html b/testing/web-platform/tests/css/css-anchor-position/position-fallback-001.html new file mode 100644 index 0000000000..85f1d1d65a --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/position-fallback-001.html @@ -0,0 +1,108 @@ + + + + + + + + + +
+
+
+
+
+ +
+
+
+
+
+ +
+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+ +
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-anchor-position/position-fallback-002.html b/testing/web-platform/tests/css/css-anchor-position/position-fallback-002.html new file mode 100644 index 0000000000..52c964609b --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/position-fallback-002.html @@ -0,0 +1,61 @@ + +Tests that overflowing the inset-modified containing block triggers position fallback + + + + + + + + +
+
+
+ +
+
+ diff --git a/testing/web-platform/tests/css/css-anchor-position/position-fallback-basics.html b/testing/web-platform/tests/css/css-anchor-position/position-fallback-basics.html new file mode 100644 index 0000000000..bfeb921de1 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/position-fallback-basics.html @@ -0,0 +1,40 @@ + +Tests basics of the 'position-fallback' property + + + + + + + + + +
+
+
+ + diff --git a/testing/web-platform/tests/css/css-anchor-position/position-fallback-cascade-layer-reorder.html b/testing/web-platform/tests/css/css-anchor-position/position-fallback-cascade-layer-reorder.html new file mode 100644 index 0000000000..ec1a64205c --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/position-fallback-cascade-layer-reorder.html @@ -0,0 +1,72 @@ + +Tests that @position-fallback rules are reordered by cascade layers + + + + + + + +
+ + diff --git a/testing/web-platform/tests/css/css-anchor-position/position-fallback-custom-property.html b/testing/web-platform/tests/css/css-anchor-position/position-fallback-custom-property.html new file mode 100644 index 0000000000..ca709af3de --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/position-fallback-custom-property.html @@ -0,0 +1,68 @@ + +Variable substitution in @try rules + + + + + + +
+
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-anchor-position/position-fallback-dynamic.html b/testing/web-platform/tests/css/css-anchor-position/position-fallback-dynamic.html new file mode 100644 index 0000000000..f6d8210427 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/position-fallback-dynamic.html @@ -0,0 +1,36 @@ + +CSS Anchor Positioning Test: Dynamically change position via position-fallback property + + + + +
+
+ diff --git a/testing/web-platform/tests/css/css-anchor-position/position-fallback-grid-001.html b/testing/web-platform/tests/css/css-anchor-position/position-fallback-grid-001.html new file mode 100644 index 0000000000..f5ab4254b5 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/position-fallback-grid-001.html @@ -0,0 +1,92 @@ + + + + + + + + + + +
+
+
+
1
+
2
+
3
+
4
+
5
+
+
+
+
+
7
+
8
+
9
+
10
+
11
+
12
+
13
+
14
+
15
+
16
+ +
+
+
+ diff --git a/testing/web-platform/tests/css/css-anchor-position/position-fallback-tree-scoped.html b/testing/web-platform/tests/css/css-anchor-position/position-fallback-tree-scoped.html new file mode 100644 index 0000000000..955c3a7c1b --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/position-fallback-tree-scoped.html @@ -0,0 +1,159 @@ + +CSS Anchor Positioning Test: @position-fallback - tree scoped names + + + + + + + + +
+
+
+
+ +
+ + + +
+ +
+
+ + + diff --git a/testing/web-platform/tests/css/css-anchor-position/reference/anchor-scroll-fixedpos-ref.html b/testing/web-platform/tests/css/css-anchor-position/reference/anchor-scroll-fixedpos-ref.html new file mode 100644 index 0000000000..e73354df72 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/reference/anchor-scroll-fixedpos-ref.html @@ -0,0 +1,32 @@ + + + +
+
+ + diff --git a/testing/web-platform/tests/css/css-anchor-position/reference/anchor-scroll-nested-ref.html b/testing/web-platform/tests/css/css-anchor-position/reference/anchor-scroll-nested-ref.html new file mode 100644 index 0000000000..6190258f3c --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/reference/anchor-scroll-nested-ref.html @@ -0,0 +1,74 @@ + +Tests anchor-scroll with nested scroll containers + + + + +
+
+
+
+
+
+ +
+ + diff --git a/testing/web-platform/tests/css/css-anchor-position/reference/anchor-scroll-ref.html b/testing/web-platform/tests/css/css-anchor-position/reference/anchor-scroll-ref.html new file mode 100644 index 0000000000..7935f3823f --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/reference/anchor-scroll-ref.html @@ -0,0 +1,61 @@ + +Basic of anchor-scroll: anchored elements should be "pinned" to the anchor when anchor is scrolled + + + +
+
+
+
+ anchor +
+
+ +
inner-anchored
+
outer-anchored
+ + diff --git a/testing/web-platform/tests/css/css-anchor-position/reference/anchor-scroll-update-005-ref.html b/testing/web-platform/tests/css/css-anchor-position/reference/anchor-scroll-update-005-ref.html new file mode 100644 index 0000000000..b0c3a820f8 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/reference/anchor-scroll-update-005-ref.html @@ -0,0 +1,34 @@ + + +
+
+
+
+
+
+
+ + diff --git a/testing/web-platform/tests/css/css-anchor-position/reference/anchor-scroll-update-006-ref.html b/testing/web-platform/tests/css/css-anchor-position/reference/anchor-scroll-update-006-ref.html new file mode 100644 index 0000000000..c7fbb57e76 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/reference/anchor-scroll-update-006-ref.html @@ -0,0 +1,34 @@ + + +
+
+
+
+
+
+
+ + diff --git a/testing/web-platform/tests/css/css-anchor-position/reference/anchor-scroll-vlr-ref.html b/testing/web-platform/tests/css/css-anchor-position/reference/anchor-scroll-vlr-ref.html new file mode 100644 index 0000000000..cbb249e150 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/reference/anchor-scroll-vlr-ref.html @@ -0,0 +1,70 @@ + +Tests that anchor-scroll works in vertical-lr writing mode + + + + + +
+
+
+
+
outer-anchored
+
+ anchor +
inner-anchored
+
+
+
+ + diff --git a/testing/web-platform/tests/css/css-anchor-position/reference/anchor-scroll-vrl-ref.html b/testing/web-platform/tests/css/css-anchor-position/reference/anchor-scroll-vrl-ref.html new file mode 100644 index 0000000000..746dfee074 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/reference/anchor-scroll-vrl-ref.html @@ -0,0 +1,70 @@ + +Tests that anchor-scroll works in vertical-rl writing mode + + + + + +
+
+
+
+
inner-anchored
+
+ anchor +
outer-anchored
+
+
+
+ + diff --git a/testing/web-platform/tests/css/css-anchor-position/reference/sticky-anchor-position-invalid-ref.html b/testing/web-platform/tests/css/css-anchor-position/reference/sticky-anchor-position-invalid-ref.html new file mode 100644 index 0000000000..3a48755874 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/reference/sticky-anchor-position-invalid-ref.html @@ -0,0 +1,28 @@ + +Anchor queries in sticky positioning is invalid + +
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-anchor-position/sticky-anchor-position-invalid.html b/testing/web-platform/tests/css/css-anchor-position/sticky-anchor-position-invalid.html new file mode 100644 index 0000000000..f7c1e1a374 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/sticky-anchor-position-invalid.html @@ -0,0 +1,32 @@ + +Anchor queries in sticky positioning is invalid + + + + +
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-anchor-position/support/green-16x16.png b/testing/web-platform/tests/css/css-anchor-position/support/green-16x16.png new file mode 100644 index 0000000000..e19a3ffddd Binary files /dev/null and b/testing/web-platform/tests/css/css-anchor-position/support/green-16x16.png differ diff --git a/testing/web-platform/tests/css/css-anchor-position/support/test-common.js b/testing/web-platform/tests/css/css-anchor-position/support/test-common.js new file mode 100644 index 0000000000..5ef7a951b4 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/support/test-common.js @@ -0,0 +1,27 @@ +// Asserts that the anchored element is at the top/bottom/left/right of the +// anchor. +function assert_fallback_position(anchored, anchor, direction) { + let anchoredRect = anchored.getBoundingClientRect(); + let anchorRect = anchor.getBoundingClientRect(); + let message = `Anchored element should be at the ${direction} of anchor`; + switch (direction) { + case 'top': + assert_equals(anchoredRect.bottom, anchorRect.top, message); + return; + case 'bottom': + assert_equals(anchoredRect.top, anchorRect.bottom, message); + return; + case 'left': + assert_equals(anchoredRect.right, anchorRect.left, message); + return; + case 'right': + assert_equals(anchoredRect.left, anchorRect.right, message); + return; + default: + assert_unreached('unsupported direction'); + } +} + +async function waitUntilNextAnimationFrame() { + return new Promise(resolve => requestAnimationFrame(resolve)); +} -- cgit v1.2.3