From 26a029d407be480d791972afb5975cf62c9360a6 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 02:47:55 +0200 Subject: Adding upstream version 124.0.1. Signed-off-by: Daniel Baumann --- .../tests/css/css-anchor-position/WEB_FEATURES.yml | 3 + .../css/css-anchor-position/anchor-center-001.html | 24 +++ .../css-anchor-position/anchor-center-002-ref.html | 49 ++++++ .../css/css-anchor-position/anchor-center-002.html | 52 ++++++ .../css-anchor-position/anchor-center-htb-htb.html | 84 ++++++++++ .../css-anchor-position/anchor-center-htb-vrl.html | 85 ++++++++++ .../css-anchor-position/anchor-center-vrl-htb.html | 86 ++++++++++ .../css-anchor-position/anchor-center-vrl-vrl.html | 85 ++++++++++ .../css-anchor-position/anchor-default-001.html | 56 +++++++ .../css-anchor-position/anchor-default-002.html | 70 ++++++++ .../css-anchor-position/anchor-default-003.html | 55 +++++++ .../css-anchor-position/anchor-default-basics.html | 42 +++++ .../css-anchor-position/anchor-default-ref.html | 44 ++++++ .../anchor-getComputedStyle-001.html | 124 +++++++++++++++ .../anchor-getComputedStyle-002.html | 112 +++++++++++++ .../anchor-getComputedStyle-003.html | 92 +++++++++++ .../css/css-anchor-position/anchor-name-001.html | 39 +++++ .../css/css-anchor-position/anchor-name-002.html | 58 +++++++ .../css/css-anchor-position/anchor-name-003.html | 151 ++++++++++++++++++ .../css/css-anchor-position/anchor-name-004.html | 44 ++++++ .../css-anchor-position/anchor-name-basics.html | 41 +++++ .../anchor-name-cross-shadow.html | 54 +++++++ .../anchor-name-in-shadow-002.html | 54 +++++++ .../css-anchor-position/anchor-name-in-shadow.html | 53 +++++++ .../anchor-name-inline-001.html | 58 +++++++ .../anchor-name-multicol-001.html | 55 +++++++ .../anchor-name-multicol-002.html | 62 ++++++++ .../anchor-name-multicol-003.html | 67 ++++++++ .../anchor-name-multicol-004.html | 61 +++++++ .../anchor-name-style-contained-dynamic.html | 71 +++++++++ .../anchor-name-style-contained.html | 60 +++++++ .../anchor-non-oof-inherit.html | 117 ++++++++++++++ .../css-anchor-position/anchor-parse-invalid.html | 41 +++++ .../css-anchor-position/anchor-parse-valid.html | 67 ++++++++ .../css-anchor-position/anchor-position-001.html | 55 +++++++ .../css-anchor-position/anchor-position-002.html | 73 +++++++++ .../css-anchor-position/anchor-position-003.html | 59 +++++++ .../css-anchor-position/anchor-position-004.html | 117 ++++++++++++++ .../anchor-position-borders-001.html | 136 ++++++++++++++++ .../anchor-position-borders-002.html | 85 ++++++++++ .../anchor-position-dynamic-001.html | 68 ++++++++ .../anchor-position-dynamic-002.html | 55 +++++++ .../anchor-position-dynamic-003.html | 106 +++++++++++++ .../anchor-position-dynamic-004.html | 46 ++++++ .../anchor-position-grid-001.html | 83 ++++++++++ .../anchor-position-inline-001.html | 37 +++++ .../anchor-position-inline-002.html | 38 +++++ .../anchor-position-inline-003.html | 38 +++++ .../anchor-position-inline-004.html | 176 +++++++++++++++++++++ .../anchor-position-multicol-001.html | 44 ++++++ .../anchor-position-multicol-002.html | 110 +++++++++++++ .../anchor-position-multicol-003.html | 67 ++++++++ .../anchor-position-multicol-004.html | 84 ++++++++++ .../anchor-position-multicol-005.html | 65 ++++++++ .../anchor-position-multicol-006.html | 72 +++++++++ .../anchor-position-multicol-colspan-001.html | 101 ++++++++++++ .../anchor-position-multicol-colspan-002.html | 77 +++++++++ .../anchor-position-multicol-fixed-001.html | 81 ++++++++++ .../anchor-position-multicol-nested-001.html | 80 ++++++++++ .../anchor-position-principal-box.html | 32 ++++ .../anchor-position-top-layer-001.html | 51 ++++++ .../anchor-position-top-layer-002.html | 51 ++++++ .../anchor-position-top-layer-003.html | 52 ++++++ .../anchor-position-top-layer-004.html | 52 ++++++ .../anchor-position-top-layer-005.html | 52 ++++++ .../anchor-position-top-layer-006.html | 52 ++++++ .../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 | 70 ++++++++ .../css/css-anchor-position/anchor-scroll-001.html | 71 +++++++++ .../css/css-anchor-position/anchor-scroll-002.html | 99 ++++++++++++ .../css/css-anchor-position/anchor-scroll-003.html | 76 +++++++++ .../css/css-anchor-position/anchor-scroll-004.html | 89 +++++++++++ .../css/css-anchor-position/anchor-scroll-005.html | 55 +++++++ .../css/css-anchor-position/anchor-scroll-006.html | 137 ++++++++++++++++ .../css/css-anchor-position/anchor-scroll-007.html | 86 ++++++++++ ...chor-scroll-composited-scrolling-001-crash.html | 41 +++++ ...chor-scroll-composited-scrolling-002-crash.html | 49 ++++++ ...chor-scroll-composited-scrolling-003-crash.html | 49 ++++++ ...chor-scroll-composited-scrolling-004-crash.html | 46 ++++++ ...chor-scroll-composited-scrolling-005-crash.html | 51 ++++++ .../anchor-scroll-composited-scrolling-006.html | 61 +++++++ .../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-fallback-position-006.html | 91 +++++++++++ .../anchor-scroll-fallback-position-007.html | 95 +++++++++++ .../anchor-scroll-fallback-position-008.html | 96 +++++++++++ .../anchor-scroll-fallback-position-009.html | 95 +++++++++++ .../anchor-scroll-fallback-position-010.html | 96 +++++++++++ .../anchor-scroll-fallback-position-011.html | 115 ++++++++++++++ .../anchor-scroll-fixedpos.html | 38 +++++ .../anchor-scroll-js-expose.html | 89 +++++++++++ .../css-anchor-position/anchor-scroll-nested.html | 90 +++++++++++ .../anchor-scroll-update-001.html | 83 ++++++++++ .../anchor-scroll-update-002.html | 84 ++++++++++ .../anchor-scroll-update-003.html | 81 ++++++++++ .../anchor-scroll-update-004.html | 93 +++++++++++ .../anchor-scroll-update-005.html | 56 +++++++ .../anchor-scroll-update-006.html | 56 +++++++ .../anchor-scroll-update-007.html | 82 ++++++++++ .../css/css-anchor-position/anchor-scroll-vlr.html | 81 ++++++++++ .../css/css-anchor-position/anchor-scroll-vrl.html | 81 ++++++++++ .../css/css-anchor-position/anchor-size-001.html | 43 +++++ .../anchor-size-minmax-001.html | 45 ++++++ .../anchor-size-parse-invalid.html | 42 +++++ .../anchor-size-parse-valid.html | 65 ++++++++ .../anchor-size-replaced-001.html | 75 +++++++++ .../anchor-size-writing-modes-001.html | 68 ++++++++ .../css-anchor-position/anchor-transition-001.html | 78 +++++++++ .../css-anchor-position/anchor-transition-002.html | 70 ++++++++ .../css-anchor-position/anchor-transition-003.html | 89 +++++++++++ .../at-fallback-position-allowed-declarations.html | 104 ++++++++++++ .../at-fallback-position-parse.html | 39 +++++ .../at-position-fallback-cssom.html | 81 ++++++++++ ...-position-fallback-invalidation-shadow-dom.html | 45 ++++++ .../at-position-fallback-invalidation.html | 57 +++++++ .../chrome-1512373-2-crash.html | 18 +++ .../css-anchor-position/chrome-1512373-crash.html | 7 + .../tests/css/css-anchor-position/idlharness.html | 37 +++++ .../inset-area-abs-inline-container.html | 40 +++++ .../css/css-anchor-position/inset-area-basic.html | 121 ++++++++++++++ .../inset-area-computed-insets.tentative.html | 24 +++ .../css-anchor-position/inset-area-computed.html | 23 +++ .../inset-area-inline-container-ref.html | 16 ++ .../inset-area-inline-container.html | 38 +++++ .../inset-area-interpolation.html | 14 ++ .../css-anchor-position/inset-area-parsing.html | 49 ++++++ .../css/css-anchor-position/inset-area-wm-dir.html | 172 ++++++++++++++++++++ .../parsing/position-try-options-computed.html | 22 +++ .../parsing/position-try-options-parsing.html | 29 ++++ .../parsing/position-try-order-computed.html | 20 +++ .../parsing/position-try-order-parsing.html | 23 +++ .../css-anchor-position/position-fallback-001.html | 109 +++++++++++++ .../css-anchor-position/position-fallback-002.html | 62 ++++++++ .../css-anchor-position/position-fallback-003.html | 142 +++++++++++++++++ .../css-anchor-position/position-fallback-004.html | 74 +++++++++ .../position-fallback-basics.html | 40 +++++ .../position-fallback-bounds-001.html | 82 ++++++++++ .../position-fallback-bounds-002.html | 85 ++++++++++ .../position-fallback-bounds-003.html | 96 +++++++++++ .../position-fallback-bounds-004.html | 98 ++++++++++++ .../position-fallback-bounds-005.html | 75 +++++++++ .../position-fallback-bounds-006.html | 64 ++++++++ .../position-fallback-bounds-basics.html | 40 +++++ .../position-fallback-cascade-layer-reorder.html | 72 +++++++++ .../position-fallback-container-query.html | 95 +++++++++++ .../position-fallback-custom-property.html | 69 ++++++++ .../position-fallback-dynamic.html | 36 +++++ .../position-fallback-grid-001.html | 93 +++++++++++ .../position-fallback-pseudo-element.html | 57 +++++++ .../position-fallback-tree-scoped.html | 153 ++++++++++++++++++ .../property-interpolations.html | 90 +++++++++++ ...anchor-scroll-composited-scrolling-006-ref.html | 39 +++++ .../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 | 44 ++++++ 169 files changed, 11359 insertions(+) create mode 100644 testing/web-platform/tests/css/css-anchor-position/WEB_FEATURES.yml create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-center-001.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-center-002-ref.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-center-002.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-center-htb-htb.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-center-htb-vrl.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-center-vrl-htb.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-center-vrl-vrl.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-default-001.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-default-002.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-default-003.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-default-basics.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-default-ref.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-getComputedStyle-001.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-getComputedStyle-002.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-getComputedStyle-003.html 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-004.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-002.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-name-style-contained-dynamic.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-name-style-contained.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-non-oof-inherit.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-001.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-scroll-002.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-scroll-003.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-scroll-004.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-scroll-005.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-scroll-006.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-scroll-007.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-scroll-composited-scrolling-001-crash.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-scroll-composited-scrolling-002-crash.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-scroll-composited-scrolling-003-crash.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-scroll-composited-scrolling-004-crash.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-scroll-composited-scrolling-005-crash.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-scroll-composited-scrolling-006.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-fallback-position-006.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-scroll-fallback-position-007.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-scroll-fallback-position-008.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-scroll-fallback-position-009.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-scroll-fallback-position-010.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-scroll-fallback-position-011.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-scroll-fixedpos.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-scroll-js-expose.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-scroll-nested.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-scroll-update-001.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-scroll-update-002.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-scroll-update-003.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-scroll-update-004.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-scroll-update-005.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-scroll-update-006.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-scroll-update-007.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-scroll-vlr.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-scroll-vrl.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/anchor-transition-001.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-transition-002.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/anchor-transition-003.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-cssom.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/chrome-1512373-2-crash.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/chrome-1512373-crash.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/idlharness.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/inset-area-abs-inline-container.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/inset-area-basic.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/inset-area-computed-insets.tentative.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/inset-area-computed.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/inset-area-inline-container-ref.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/inset-area-inline-container.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/inset-area-interpolation.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/inset-area-parsing.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/inset-area-wm-dir.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/parsing/position-try-options-computed.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/parsing/position-try-options-parsing.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/parsing/position-try-order-computed.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/parsing/position-try-order-parsing.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-003.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/position-fallback-004.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-bounds-001.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/position-fallback-bounds-002.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/position-fallback-bounds-003.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/position-fallback-bounds-004.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/position-fallback-bounds-005.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/position-fallback-bounds-006.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/position-fallback-bounds-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-container-query.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-pseudo-element.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/property-interpolations.html create mode 100644 testing/web-platform/tests/css/css-anchor-position/reference/anchor-scroll-composited-scrolling-006-ref.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/WEB_FEATURES.yml b/testing/web-platform/tests/css/css-anchor-position/WEB_FEATURES.yml new file mode 100644 index 0000000000..2e4c34982a --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/WEB_FEATURES.yml @@ -0,0 +1,3 @@ +features: +- name: anchor-positioning + files: "**" diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-center-001.html b/testing/web-platform/tests/css/css-anchor-position/anchor-center-001.html new file mode 100644 index 0000000000..f8583e68c0 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-center-001.html @@ -0,0 +1,24 @@ + +Tests the anchor-center keyword is parsed and computed as specified + + + + + + + +
+
+
+ + diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-center-002-ref.html b/testing/web-platform/tests/css/css-anchor-position/anchor-center-002-ref.html new file mode 100644 index 0000000000..40ccc2b044 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-center-002-ref.html @@ -0,0 +1,49 @@ + +Tests that 'anchor-center' behaves as 'center' in non-OOF layout modes + + + +
+
+
+ +
+
+
+ +
+
+
+
+ +
+
+
+
diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-center-002.html b/testing/web-platform/tests/css/css-anchor-position/anchor-center-002.html new file mode 100644 index 0000000000..b7f61003a6 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-center-002.html @@ -0,0 +1,52 @@ + +Tests that 'anchor-center' behaves as 'center' in non-OOF layout modes + + + + + + +
+
+
+ +
+
+
+ +
+
+
+
+ +
+
+
+
diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-center-htb-htb.html b/testing/web-platform/tests/css/css-anchor-position/anchor-center-htb-htb.html new file mode 100644 index 0000000000..7012208044 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-center-htb-htb.html @@ -0,0 +1,84 @@ + + +Tests the position and available-size of 'anchor-center' alignment with different insets. + + + + + + + + +
+
+
+
+ + +
+
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+
+ + +
+
+
+
+ +
+
+
+
+ +
+
+
+
diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-center-htb-vrl.html b/testing/web-platform/tests/css/css-anchor-position/anchor-center-htb-vrl.html new file mode 100644 index 0000000000..584424d306 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-center-htb-vrl.html @@ -0,0 +1,85 @@ + + +Tests the position and available-size of 'anchor-center' alignment with different insets. + + + + + + + + +
+
+
+
+ + +
+
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+
+ + +
+
+
+
+ +
+
+
+
+ +
+
+
+
diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-center-vrl-htb.html b/testing/web-platform/tests/css/css-anchor-position/anchor-center-vrl-htb.html new file mode 100644 index 0000000000..c7ee230262 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-center-vrl-htb.html @@ -0,0 +1,86 @@ + + +Tests the position and available-size of 'anchor-center' alignment with different insets. + + + + + + + + +
+
+
+
+ + +
+
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+
+ + +
+
+
+
+ +
+
+
+
+ +
+
+
+
diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-center-vrl-vrl.html b/testing/web-platform/tests/css/css-anchor-position/anchor-center-vrl-vrl.html new file mode 100644 index 0000000000..d314dc7f2f --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-center-vrl-vrl.html @@ -0,0 +1,85 @@ + + +Tests the position and available-size of 'anchor-center' alignment with different insets. + + + + + + + + +
+
+
+
+ + +
+
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+
+ + +
+
+
+
+ +
+
+
+
+ +
+
+
+
diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-default-001.html b/testing/web-platform/tests/css/css-anchor-position/anchor-default-001.html new file mode 100644 index 0000000000..8bb59851ee --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-default-001.html @@ -0,0 +1,56 @@ + +Tests the 'anchor-default' property + + + + + +
anchor1
+
anchor2
+ +
target1
+
target2
diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-default-002.html b/testing/web-platform/tests/css/css-anchor-position/anchor-default-002.html new file mode 100644 index 0000000000..261119e017 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-default-002.html @@ -0,0 +1,70 @@ + +Tests that 'anchor-default' property value is tree-scoped + + + + + +
+ +
+ anchor1 +
target1
+
+ +
+ anchor2 +
target2
+
+ + diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-default-003.html b/testing/web-platform/tests/css/css-anchor-position/anchor-default-003.html new file mode 100644 index 0000000000..00c2032434 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-default-003.html @@ -0,0 +1,55 @@ + +Tests that layout is updated on anchor-default value changes + + + + + + + +
+
+
+ + diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-default-basics.html b/testing/web-platform/tests/css/css-anchor-position/anchor-default-basics.html new file mode 100644 index 0000000000..783cb539cc --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-default-basics.html @@ -0,0 +1,42 @@ + +Tests basics of the 'anchor-default' property + + + + + + + + + +
+
+
+ + diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-default-ref.html b/testing/web-platform/tests/css/css-anchor-position/anchor-default-ref.html new file mode 100644 index 0000000000..4d7de12447 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-default-ref.html @@ -0,0 +1,44 @@ + + + +
anchor1
+
anchor2
+ +
target1
+
target2
diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-getComputedStyle-001.html b/testing/web-platform/tests/css/css-anchor-position/anchor-getComputedStyle-001.html new file mode 100644 index 0000000000..6d77cf9a9d --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-getComputedStyle-001.html @@ -0,0 +1,124 @@ + + +Tests that getComputedStyle() resolves anchor functions + + + + + + + +
+
+
+
+
+ + +
+
+
+
+
+ + +
+
+
+
+
+ + diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-getComputedStyle-002.html b/testing/web-platform/tests/css/css-anchor-position/anchor-getComputedStyle-002.html new file mode 100644 index 0000000000..ae697fcc74 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-getComputedStyle-002.html @@ -0,0 +1,112 @@ + + +Tests getComputedStyle() resolving anchor() in fragmentation context + + + + + + + + + + +
+
+
+
+
+
+
+ + + + +
+ Lorem + + ipsum dolor sit + + + amet.
+ + Lorem + + ipsum dolor sit + + + amet.
+
+ diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-getComputedStyle-003.html b/testing/web-platform/tests/css/css-anchor-position/anchor-getComputedStyle-003.html new file mode 100644 index 0000000000..f9fca97654 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-getComputedStyle-003.html @@ -0,0 +1,92 @@ + + +Tests that getComputedStyle() returns used position fallback style + + + + + + + + +
+
anchor1
+
anchor2
+ +
target1
+
target2
+
+ + 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..4caf3ee210 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-name-001.html @@ -0,0 +1,39 @@ + + + + + + + + + + +
+
+
+
+
+
+
+
+
+ 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..63b5d66a4e --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-name-002.html @@ -0,0 +1,58 @@ + + + + + + + + + +
+
+
+ +
+
+
+ +
+
+ +
+
+ +
+
+ +
+
+
+ +
+
+ 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..9ab6b66d94 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-name-003.html @@ -0,0 +1,151 @@ + + + + + + + + + + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-name-004.html b/testing/web-platform/tests/css/css-anchor-position/anchor-name-004.html new file mode 100644 index 0000000000..ebe96df740 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-name-004.html @@ -0,0 +1,44 @@ + + + + + + + + + + +
+
+
+
+
+
+ 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..9523ee8772 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-name-basics.html @@ -0,0 +1,41 @@ + +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-002.html b/testing/web-platform/tests/css/css-anchor-position/anchor-name-in-shadow-002.html new file mode 100644 index 0000000000..321ceebcc4 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-name-in-shadow-002.html @@ -0,0 +1,54 @@ + +Tests that anchor names are correctly tree-scoped even with style sheet sharing + + + + + + + +
+
+ + 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..dba3472f5b --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-name-inline-001.html @@ -0,0 +1,58 @@ + + + + + + + + + + +
+
+
+ + + + + 12 + 123 + + + + + +
+
+ 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..641ecf999b --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-name-multicol-001.html @@ -0,0 +1,55 @@ + +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..73b7b56620 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-name-multicol-002.html @@ -0,0 +1,62 @@ + +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..02fd1c164d --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-name-multicol-003.html @@ -0,0 +1,67 @@ + +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..fdd1772359 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-name-multicol-004.html @@ -0,0 +1,61 @@ + +Anchor name resolution of OOF anchors in multicol + + + + + + + + + + +
+
+
+
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-name-style-contained-dynamic.html b/testing/web-platform/tests/css/css-anchor-position/anchor-name-style-contained-dynamic.html new file mode 100644 index 0000000000..50cec96f36 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-name-style-contained-dynamic.html @@ -0,0 +1,71 @@ + +CSS Anchor Positioning: anchor-name is style contained - dynamic containment + + + + + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-name-style-contained.html b/testing/web-platform/tests/css/css-anchor-position/anchor-name-style-contained.html new file mode 100644 index 0000000000..a529575889 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-name-style-contained.html @@ -0,0 +1,60 @@ + +CSS Anchor Positioning: anchor-name is style contained + + + + + + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-non-oof-inherit.html b/testing/web-platform/tests/css/css-anchor-position/anchor-non-oof-inherit.html new file mode 100644 index 0000000000..75f98a1ebf --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-non-oof-inherit.html @@ -0,0 +1,117 @@ + +Tests that anchor functions can be inherited from in-flow elements + + + + + + + + + + + + +

In each test case, we should see a filled green square with no red.

+ +
+
+
+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+
+ + 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..4690775388 --- /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..6fc188ab69 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-position-001.html @@ -0,0 +1,55 @@ + +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..de8fc4792a --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-position-002.html @@ -0,0 +1,73 @@ + + + + + + + + + + +
+
+
+
+
+ +
+
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+
+
+ 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..c149dd0e11 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-position-003.html @@ -0,0 +1,59 @@ + + + + + + + + + + +
+
+
+
+
+ +
+
+
+
+
+
+
+ +
+
+
+
+
+
+
+ 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..387c9ab692 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-position-004.html @@ -0,0 +1,117 @@ + +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..1e2ecbc909 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-position-borders-001.html @@ -0,0 +1,136 @@ + + + + + + + + + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 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..96d5f996ef --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-position-dynamic-001.html @@ -0,0 +1,68 @@ + +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..e97ae5e12b --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-position-dynamic-002.html @@ -0,0 +1,55 @@ + + + + + + + + + +
+ +
+
+
+ + +
+
+
+
+
+
+ + 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..0400be1bde --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-position-dynamic-003.html @@ -0,0 +1,106 @@ + +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..146703e628 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-position-dynamic-004.html @@ -0,0 +1,46 @@ + + + + + + + + + +
+
+
+
+
+ +
+
+ + 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..92fb4d275b --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-position-grid-001.html @@ -0,0 +1,83 @@ + + + + + + + + + + +
+
+
+
+
+
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..12c1766a6c --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-position-inline-001.html @@ -0,0 +1,37 @@ + + + + + + + + + + +
+
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..d723e0c004 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-position-inline-002.html @@ -0,0 +1,38 @@ + + + + + + + + + + +
+
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..2915d6328c --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-position-inline-003.html @@ -0,0 +1,38 @@ + + + + + + + + + + +
+
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..e47147ec67 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-position-inline-004.html @@ -0,0 +1,176 @@ + + + + + + + + + + + + + +
+
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..ddbbc8d2f4 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-position-multicol-001.html @@ -0,0 +1,44 @@ + + + + + + + + + + +
+
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..7b2691a2b9 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-position-multicol-002.html @@ -0,0 +1,110 @@ + + + + + + + + + + + +

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..d23779ad9b --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-position-multicol-003.html @@ -0,0 +1,67 @@ + +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..399494120e --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-position-multicol-004.html @@ -0,0 +1,84 @@ + +Tests resolving anchor-name conflicts in multicol + + + + + + + + + + +

The green box should be a union of two blue boxes in the right, + 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..2239331ae3 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-position-multicol-005.html @@ -0,0 +1,65 @@ + +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..93d4ac6598 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-position-multicol-006.html @@ -0,0 +1,72 @@ + +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..f90ee5c3a2 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-position-multicol-colspan-001.html @@ -0,0 +1,101 @@ + +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..0c341f987a --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-position-multicol-colspan-002.html @@ -0,0 +1,77 @@ + +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..b94680816e --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-position-multicol-fixed-001.html @@ -0,0 +1,81 @@ + +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..35ab2cfc15 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-position-multicol-nested-001.html @@ -0,0 +1,80 @@ + +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..055459551b --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-position-top-layer-001.html @@ -0,0 +1,51 @@ + +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..a87a9d7eed --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-position-top-layer-002.html @@ -0,0 +1,51 @@ + +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..96d5219c5c --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-position-top-layer-003.html @@ -0,0 +1,52 @@ + +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..c986e3f98d --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-position-top-layer-004.html @@ -0,0 +1,52 @@ + +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..cf39c77736 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-position-top-layer-005.html @@ -0,0 +1,52 @@ + +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..c13284b854 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-position-top-layer-006.html @@ -0,0 +1,52 @@ + +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..6058d23885 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-query-fallback.html @@ -0,0 +1,70 @@ + +Tests the fallback value in anchor queries + + + + + + + + + + +
+
+
+
+
+
+
+
+
+
+ + +
+
+ + +
+
+
+
+ + +
+
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-001.html b/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-001.html new file mode 100644 index 0000000000..8609795c8a --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-001.html @@ -0,0 +1,71 @@ + +Basic of anchor positioned scrolling: 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-002.html b/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-002.html new file mode 100644 index 0000000000..8ef6f500a1 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-002.html @@ -0,0 +1,99 @@ + +Tests anchor positioned scrolling resolving name conflicts + + + + + + + + +
+
+
+
+
+
+ +
+
+
+
+
+ +
+
+
+
+
+
+ + diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-003.html b/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-003.html new file mode 100644 index 0000000000..c1b31c0bec --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-003.html @@ -0,0 +1,76 @@ + +Tests anchor positioned scrolling with fragmented containing block + + + + + + + + +
+
+
+
+
+
+
+
+
+ + diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-004.html b/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-004.html new file mode 100644 index 0000000000..d08279118d --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-004.html @@ -0,0 +1,89 @@ + + +Tests anchor positioned scrolling with relatively positioned inline containers + + + + + + + + + +
+ + + before + anchor + after + + target + + +
+
+ + + + before + anchor + after + + target + +
+ + diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-005.html b/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-005.html new file mode 100644 index 0000000000..a9a7d24d2b --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-005.html @@ -0,0 +1,55 @@ + +Tests scrolling with anchor in fixed-positioned scroller + + + + + + + + +
+
+
+
+ + diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-006.html b/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-006.html new file mode 100644 index 0000000000..2ffd026b55 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-006.html @@ -0,0 +1,137 @@ + +Tests that scroll adjustment is applied per-axis + + + + + + + + +
+
+
+
+
+ + + +
+
+
+
+
+ + + +
+
+
+
+
+ + diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-007.html b/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-007.html new file mode 100644 index 0000000000..ec51910619 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-007.html @@ -0,0 +1,86 @@ + +Tests that scroll adjustment still applies when using another anchor in default anchor's scroll container + + + + + + + + +
+
+
+
+
+
+
+ + diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-composited-scrolling-001-crash.html b/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-composited-scrolling-001-crash.html new file mode 100644 index 0000000000..005a27393a --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-composited-scrolling-001-crash.html @@ -0,0 +1,41 @@ + +Tests that scrolling 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-composited-scrolling-002-crash.html b/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-composited-scrolling-002-crash.html new file mode 100644 index 0000000000..83ce146825 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-composited-scrolling-002-crash.html @@ -0,0 +1,49 @@ + + +Tests that scrolling doesn't crash renderer when scroller's content no longer overflows + + + + + +
+
+
anchor
+
+
target
+ + + diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-composited-scrolling-003-crash.html b/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-composited-scrolling-003-crash.html new file mode 100644 index 0000000000..594c844bfb --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-composited-scrolling-003-crash.html @@ -0,0 +1,49 @@ + + +Tests that scrolling doesn't crash renderer when scroller becomes non-scroller + + + + + +
+
+
anchor
+
+
target
+ + + diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-composited-scrolling-004-crash.html b/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-composited-scrolling-004-crash.html new file mode 100644 index 0000000000..226a1b099c --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-composited-scrolling-004-crash.html @@ -0,0 +1,46 @@ + + +Tests that scrolling doesn't crash renderer when scroller's content no longer overflows, and target precedes scroller in DOM + + + + + +
target
+
+
+
anchor
+
+ + + diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-composited-scrolling-005-crash.html b/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-composited-scrolling-005-crash.html new file mode 100644 index 0000000000..639e2e064a --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-composited-scrolling-005-crash.html @@ -0,0 +1,51 @@ + + +Tests that scrolling doesn't crash renderer with `overflow: hidden` scroller + + + + + +
+
+
anchor
+
+
target
+ + + diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-composited-scrolling-006.html b/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-composited-scrolling-006.html new file mode 100644 index 0000000000..6e57accc45 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-composited-scrolling-006.html @@ -0,0 +1,61 @@ + + +Tests anchor-positioned element paint order in composited scrolling + + + + + +
+
+
+
+
+
+ + + 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..04518e5019 --- /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..f30c35d390 --- /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..60bc9b919a --- /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..99e4f9c30d --- /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..0adfe0834d --- /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-fallback-position-006.html b/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-fallback-position-006.html new file mode 100644 index 0000000000..b4a1a24de6 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-fallback-position-006.html @@ -0,0 +1,91 @@ + +Tests position fallback with initially out-of-viewport anchor + + + + + + + + + +
+
+ + diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-fallback-position-007.html b/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-fallback-position-007.html new file mode 100644 index 0000000000..baa283ba94 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-fallback-position-007.html @@ -0,0 +1,95 @@ + +Tests position fallback with initially out-of-viewport anchor in vertial-rl + + + + + + + + + +
+
+ + diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-fallback-position-008.html b/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-fallback-position-008.html new file mode 100644 index 0000000000..ae625d5823 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-fallback-position-008.html @@ -0,0 +1,96 @@ + +Tests position fallback with initially out-of-viewport anchor in vertial-rl rtl + + + + + + + + + +
+
+ + diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-fallback-position-009.html b/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-fallback-position-009.html new file mode 100644 index 0000000000..b355d476e6 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-fallback-position-009.html @@ -0,0 +1,95 @@ + +Tests position fallback with initially out-of-viewport anchor in vertial-lr + + + + + + + + + +
+
+ + diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-fallback-position-010.html b/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-fallback-position-010.html new file mode 100644 index 0000000000..a0dd599b3b --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-fallback-position-010.html @@ -0,0 +1,96 @@ + +Tests position fallback with initially out-of-viewport anchor in vertial-lr rtl + + + + + + + + + +
+
+ + diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-fallback-position-011.html b/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-fallback-position-011.html new file mode 100644 index 0000000000..98fa4b5f86 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-fallback-position-011.html @@ -0,0 +1,115 @@ + +Tests position fallback with initially out-of-viewport anchor in columb-reverse flexbox + + + + + + + + + + +
+
+
+
+
+
+
+
+ + diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-fixedpos.html b/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-fixedpos.html new file mode 100644 index 0000000000..a32ef3f7c4 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-fixedpos.html @@ -0,0 +1,38 @@ + +Tests that scroll adjustments of fixed-positioned elements are applied correctly + + + + + +
+
+ + diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-js-expose.html b/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-js-expose.html new file mode 100644 index 0000000000..1ef44d03c2 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-js-expose.html @@ -0,0 +1,89 @@ + +Tests that anchored element's actual rendered location is property exposed via JS APIs under scrolling + + + + + + +
+
+
+
+
Text
+
+ + diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-nested.html b/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-nested.html new file mode 100644 index 0000000000..557f748c02 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-nested.html @@ -0,0 +1,90 @@ + + +Tests anchor positioning with nested scroll containers + + + + + +
+
+
+
+
+
+ +
+ + diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-update-001.html b/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-update-001.html new file mode 100644 index 0000000000..f11797edad --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-update-001.html @@ -0,0 +1,83 @@ + + +Anchored elements should keep "pinned" to the anchor during scroll updates + + + + + + +
+
+
+
+
+ anchor +
inner-anchored
+
+
+
outer-anchored
+
+ + + diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-update-002.html b/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-update-002.html new file mode 100644 index 0000000000..19447952b0 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-update-002.html @@ -0,0 +1,84 @@ + + +Anchored elements should update location on `anchor-default` property changes + + + + + + +
+
+
+
+
+ anchor +
inner-anchored
+
+
+
outer-anchored
+
+ + + diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-update-003.html b/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-update-003.html new file mode 100644 index 0000000000..57a524c483 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-update-003.html @@ -0,0 +1,81 @@ + + +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.html b/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-update-004.html new file mode 100644 index 0000000000..d20a7b660a --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-update-004.html @@ -0,0 +1,93 @@ + + +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.html b/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-update-005.html new file mode 100644 index 0000000000..c2e7248c80 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-update-005.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.html b/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-update-006.html new file mode 100644 index 0000000000..2535c68f78 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-update-006.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-update-007.html b/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-update-007.html new file mode 100644 index 0000000000..4859f01d66 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-update-007.html @@ -0,0 +1,82 @@ + + +Fixed positioned 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-vlr.html b/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-vlr.html new file mode 100644 index 0000000000..00406c825e --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-vlr.html @@ -0,0 +1,81 @@ + +Tests that anchor positioned scrolling 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.html b/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-vrl.html new file mode 100644 index 0000000000..2432d72899 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-scroll-vrl.html @@ -0,0 +1,81 @@ + +Tests that anchor positioned scrolling 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..50620da257 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-size-001.html @@ -0,0 +1,43 @@ + + + + + + + + + +
+
+ + +
+
+
+
+
+
+ + +
+
+
+
+
+
+
+ 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..364b3eb24f --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-size-minmax-001.html @@ -0,0 +1,45 @@ + + + + + + + + + +
+
+ +
+
+ +
+
+
+
+
+
+
+ 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..32b308f056 --- /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..27554b3135 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-size-replaced-001.html @@ -0,0 +1,75 @@ + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
+ 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..25d4eea192 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-size-writing-modes-001.html @@ -0,0 +1,68 @@ + + + + + + + + + +
+
+ + +
+
+
+
+
+
+ + +
+
+
+
+
+
+
+
+
+ + +
+
+
+
+
+
+ + +
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-transition-001.html b/testing/web-platform/tests/css/css-anchor-position/anchor-transition-001.html new file mode 100644 index 0000000000..e69a388205 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-transition-001.html @@ -0,0 +1,78 @@ + +Tests CSS transition of anchor() and anchor-size() functions + + + + + + + + +
+
+
+ + + diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-transition-002.html b/testing/web-platform/tests/css/css-anchor-position/anchor-transition-002.html new file mode 100644 index 0000000000..b0fddc4943 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-transition-002.html @@ -0,0 +1,70 @@ + +Tests CSS transition of anchor() across tree scopes + + + + + + + + +
+
+ + diff --git a/testing/web-platform/tests/css/css-anchor-position/anchor-transition-003.html b/testing/web-platform/tests/css/css-anchor-position/anchor-transition-003.html new file mode 100644 index 0000000000..e7624575da --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/anchor-transition-003.html @@ -0,0 +1,89 @@ + +Tests CSS transition of anchor() across three tree scopes + + + + + + + + +
+
+ + 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..cca222ac6d --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/at-fallback-position-allowed-declarations.html @@ -0,0 +1,104 @@ + +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-cssom.html b/testing/web-platform/tests/css/css-anchor-position/at-position-fallback-cssom.html new file mode 100644 index 0000000000..df295bf2d0 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/at-position-fallback-cssom.html @@ -0,0 +1,81 @@ + +Tests the CSSOM interfaces of @position-fallback and @try rules + + + + + +
+
+
+ + 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..066cba1dac --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/at-position-fallback-invalidation-shadow-dom.html @@ -0,0 +1,45 @@ + +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/chrome-1512373-2-crash.html b/testing/web-platform/tests/css/css-anchor-position/chrome-1512373-2-crash.html new file mode 100644 index 0000000000..ac27d8c264 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/chrome-1512373-2-crash.html @@ -0,0 +1,18 @@ + +Chrome crash bug 1512373 with @try fallback + + +
+ diff --git a/testing/web-platform/tests/css/css-anchor-position/chrome-1512373-crash.html b/testing/web-platform/tests/css/css-anchor-position/chrome-1512373-crash.html new file mode 100644 index 0000000000..d3ae0b5bb6 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/chrome-1512373-crash.html @@ -0,0 +1,7 @@ + +Chrome crash bug 1512373 + +
+ diff --git a/testing/web-platform/tests/css/css-anchor-position/idlharness.html b/testing/web-platform/tests/css/css-anchor-position/idlharness.html new file mode 100644 index 0000000000..2679bb3740 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/idlharness.html @@ -0,0 +1,37 @@ + +CSS Anchor Positioning IDL tests + + + + + + + + + diff --git a/testing/web-platform/tests/css/css-anchor-position/inset-area-abs-inline-container.html b/testing/web-platform/tests/css/css-anchor-position/inset-area-abs-inline-container.html new file mode 100644 index 0000000000..52344614f0 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/inset-area-abs-inline-container.html @@ -0,0 +1,40 @@ + +CSS Anchor Positioning: inset-area positioning with absolute inline container + + + + +
+
+
+   XXXX
+
diff --git a/testing/web-platform/tests/css/css-anchor-position/inset-area-basic.html b/testing/web-platform/tests/css/css-anchor-position/inset-area-basic.html new file mode 100644 index 0000000000..4a63635558 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/inset-area-basic.html @@ -0,0 +1,121 @@ + +CSS Anchor Positioning: basic inset-area positioning + + + + + +
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-anchor-position/inset-area-computed-insets.tentative.html b/testing/web-platform/tests/css/css-anchor-position/inset-area-computed-insets.tentative.html new file mode 100644 index 0000000000..4e35dd883a --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/inset-area-computed-insets.tentative.html @@ -0,0 +1,24 @@ + +CSS Anchor Positioning: inset-area should not affect computed inset values + + + + + + +
+ diff --git a/testing/web-platform/tests/css/css-anchor-position/inset-area-computed.html b/testing/web-platform/tests/css/css-anchor-position/inset-area-computed.html new file mode 100644 index 0000000000..46e29fda39 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/inset-area-computed.html @@ -0,0 +1,23 @@ + +CSS Anchor Positioning: inset-area getComputedStyle() + + + + + +
+
+
+ diff --git a/testing/web-platform/tests/css/css-anchor-position/inset-area-inline-container-ref.html b/testing/web-platform/tests/css/css-anchor-position/inset-area-inline-container-ref.html new file mode 100644 index 0000000000..ecf54f1a9a --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/inset-area-inline-container-ref.html @@ -0,0 +1,16 @@ + +CSS Test Reference +
+ +
+ +
+ +
+ +
+ +
+ +
+
diff --git a/testing/web-platform/tests/css/css-anchor-position/inset-area-inline-container.html b/testing/web-platform/tests/css/css-anchor-position/inset-area-inline-container.html new file mode 100644 index 0000000000..91c9b09735 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/inset-area-inline-container.html @@ -0,0 +1,38 @@ + +CSS Anchor Positioning: inset-area positioning with inline container + + + + +
+
+
+   XXXX
+
diff --git a/testing/web-platform/tests/css/css-anchor-position/inset-area-interpolation.html b/testing/web-platform/tests/css/css-anchor-position/inset-area-interpolation.html new file mode 100644 index 0000000000..29fe76ca5c --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/inset-area-interpolation.html @@ -0,0 +1,14 @@ + +CSS Anchor Positioning: inset-area interpolation + + + + + + diff --git a/testing/web-platform/tests/css/css-anchor-position/inset-area-parsing.html b/testing/web-platform/tests/css/css-anchor-position/inset-area-parsing.html new file mode 100644 index 0000000000..1ee88b00e6 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/inset-area-parsing.html @@ -0,0 +1,49 @@ + +CSS Anchor Positioning: inset-area parsing + + + + + + diff --git a/testing/web-platform/tests/css/css-anchor-position/inset-area-wm-dir.html b/testing/web-platform/tests/css/css-anchor-position/inset-area-wm-dir.html new file mode 100644 index 0000000000..5268cba7e5 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/inset-area-wm-dir.html @@ -0,0 +1,172 @@ + +CSS Anchor Positioning: inset-area with writing-mode and direction + + + + + +
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-anchor-position/parsing/position-try-options-computed.html b/testing/web-platform/tests/css/css-anchor-position/parsing/position-try-options-computed.html new file mode 100644 index 0000000000..d6423c164b --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/parsing/position-try-options-computed.html @@ -0,0 +1,22 @@ + + +CSS Anchor Positioning Test: Computed position-try-options + + + + + +
+
+
+ diff --git a/testing/web-platform/tests/css/css-anchor-position/parsing/position-try-options-parsing.html b/testing/web-platform/tests/css/css-anchor-position/parsing/position-try-options-parsing.html new file mode 100644 index 0000000000..dfc9997e9f --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/parsing/position-try-options-parsing.html @@ -0,0 +1,29 @@ + + +CSS Anchor Positioning Test: Parsing of position-try-options + + + + +
+ diff --git a/testing/web-platform/tests/css/css-anchor-position/parsing/position-try-order-computed.html b/testing/web-platform/tests/css/css-anchor-position/parsing/position-try-order-computed.html new file mode 100644 index 0000000000..aebec00aef --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/parsing/position-try-order-computed.html @@ -0,0 +1,20 @@ + + +CSS Anchor Positioning Test: Computed position-try-order + + + + + +
+
+
+ diff --git a/testing/web-platform/tests/css/css-anchor-position/parsing/position-try-order-parsing.html b/testing/web-platform/tests/css/css-anchor-position/parsing/position-try-order-parsing.html new file mode 100644 index 0000000000..4b3b34287f --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/parsing/position-try-order-parsing.html @@ -0,0 +1,23 @@ + + +CSS Anchor Positioning Test: Parsing of position-try-order + + + + +
+ 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..d28c71ec68 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/position-fallback-001.html @@ -0,0 +1,109 @@ + + + + + + + + + + +
+
+
+
+
+ +
+
+
+
+
+ +
+
+
+
+ +
+
+
+
+
+
+ +
+
+
+
+
+ +
+
+
+
+
+ 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..ea6ff11479 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/position-fallback-002.html @@ -0,0 +1,62 @@ + +Tests that overflowing the inset-modified containing block triggers position fallback + + + + + + + + + +
+
+
+ +
+
+ diff --git a/testing/web-platform/tests/css/css-anchor-position/position-fallback-003.html b/testing/web-platform/tests/css/css-anchor-position/position-fallback-003.html new file mode 100644 index 0000000000..531dc303d6 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/position-fallback-003.html @@ -0,0 +1,142 @@ + +Tests fallback positions that overflow the inset-modified containing block regardless of scrolling + + + + + + + + + +
+
+
+
+
+ +
+
+
+
+
+ +
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-anchor-position/position-fallback-004.html b/testing/web-platform/tests/css/css-anchor-position/position-fallback-004.html new file mode 100644 index 0000000000..e4dbd71866 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/position-fallback-004.html @@ -0,0 +1,74 @@ + +Tests margin properties in 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-bounds-001.html b/testing/web-platform/tests/css/css-anchor-position/position-fallback-bounds-001.html new file mode 100644 index 0000000000..7735115e59 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/position-fallback-bounds-001.html @@ -0,0 +1,82 @@ + +Tests basic functionalities of 'position-fallback-bounds' + + + + + + + + + + +
+
+
+
+ + +
+ + +
+ diff --git a/testing/web-platform/tests/css/css-anchor-position/position-fallback-bounds-002.html b/testing/web-platform/tests/css/css-anchor-position/position-fallback-bounds-002.html new file mode 100644 index 0000000000..7bd71216e7 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/position-fallback-bounds-002.html @@ -0,0 +1,85 @@ + +Tests 'position-fallback-bounds' with mixed writing modes + + + + + + + + + + +
+
+
+
+ + +
+ + +
+ diff --git a/testing/web-platform/tests/css/css-anchor-position/position-fallback-bounds-003.html b/testing/web-platform/tests/css/css-anchor-position/position-fallback-bounds-003.html new file mode 100644 index 0000000000..0e0e243a16 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/position-fallback-bounds-003.html @@ -0,0 +1,96 @@ + +Tests basic interaction between 'position-fallback-bounds' and scrolling + + + + + + + + +
+
+
+ + diff --git a/testing/web-platform/tests/css/css-anchor-position/position-fallback-bounds-004.html b/testing/web-platform/tests/css/css-anchor-position/position-fallback-bounds-004.html new file mode 100644 index 0000000000..ff982ea93e --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/position-fallback-bounds-004.html @@ -0,0 +1,98 @@ + +Tests complex interaction between 'position-fallback-bounds' and scrolling + + + + + + + + +
+
+
+ +
+
+
+ +
+ + diff --git a/testing/web-platform/tests/css/css-anchor-position/position-fallback-bounds-005.html b/testing/web-platform/tests/css/css-anchor-position/position-fallback-bounds-005.html new file mode 100644 index 0000000000..deb546a1e2 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/position-fallback-bounds-005.html @@ -0,0 +1,75 @@ + +Tests relayout after 'position-fallback-bounds' change + + + + + + + + +
+
+
+
+ + diff --git a/testing/web-platform/tests/css/css-anchor-position/position-fallback-bounds-006.html b/testing/web-platform/tests/css/css-anchor-position/position-fallback-bounds-006.html new file mode 100644 index 0000000000..5a19c59f31 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/position-fallback-bounds-006.html @@ -0,0 +1,64 @@ + +Tests 'position-fallback-bounds' should work without default anchor + + + + + + + + +
+
+
+ + diff --git a/testing/web-platform/tests/css/css-anchor-position/position-fallback-bounds-basics.html b/testing/web-platform/tests/css/css-anchor-position/position-fallback-bounds-basics.html new file mode 100644 index 0000000000..3b8b67bd97 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/position-fallback-bounds-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-container-query.html b/testing/web-platform/tests/css/css-anchor-position/position-fallback-container-query.html new file mode 100644 index 0000000000..b4ef806206 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/position-fallback-container-query.html @@ -0,0 +1,95 @@ + +@position-fallback with container query responding to fallback widths + + + + +
+
+
+
+
+
+
+
+ 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..edb7efc7ed --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/position-fallback-custom-property.html @@ -0,0 +1,69 @@ + +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..abe80bf51e --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/position-fallback-grid-001.html @@ -0,0 +1,93 @@ + + + + + + + + + + + +
+
+
+
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-pseudo-element.html b/testing/web-platform/tests/css/css-anchor-position/position-fallback-pseudo-element.html new file mode 100644 index 0000000000..e2f95b9a24 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/position-fallback-pseudo-element.html @@ -0,0 +1,57 @@ + +@position-fallback for ::before and ::after pseudo elements + + + + +
+
+
+ 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..2650a32f60 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/position-fallback-tree-scoped.html @@ -0,0 +1,153 @@ + +CSS Anchor Positioning Test: @position-fallback - tree scoped names + + + + + + + +
+
+
+
+ +
+ + + +
+ +
+
+ + + diff --git a/testing/web-platform/tests/css/css-anchor-position/property-interpolations.html b/testing/web-platform/tests/css/css-anchor-position/property-interpolations.html new file mode 100644 index 0000000000..878f46375b --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/property-interpolations.html @@ -0,0 +1,90 @@ + + +CSS Anchor Positioning Test: Interpolation of anchor related properties + + + + + + diff --git a/testing/web-platform/tests/css/css-anchor-position/reference/anchor-scroll-composited-scrolling-006-ref.html b/testing/web-platform/tests/css/css-anchor-position/reference/anchor-scroll-composited-scrolling-006-ref.html new file mode 100644 index 0000000000..92fe187117 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/reference/anchor-scroll-composited-scrolling-006-ref.html @@ -0,0 +1,39 @@ + + + +
+
+
+
+
+ + 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..a651114868 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/reference/anchor-scroll-nested-ref.html @@ -0,0 +1,74 @@ + +Tests anchor positioned scrolling 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..06d4a60e23 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/reference/anchor-scroll-ref.html @@ -0,0 +1,61 @@ + +Basic of anchor positioned scrolling: 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..01be0823e3 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/reference/anchor-scroll-vlr-ref.html @@ -0,0 +1,70 @@ + +Tests that anchor positioned scrolling 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..2366a7dc09 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/reference/anchor-scroll-vrl-ref.html @@ -0,0 +1,70 @@ + +Tests that anchor positioned scrolling 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..d5cf1861c1 --- /dev/null +++ b/testing/web-platform/tests/css/css-anchor-position/support/test-common.js @@ -0,0 +1,44 @@ +// 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)); +} + +// This function is a thin wrapper around `checkLayout` (from +// resources/check-layout-th.js) and simply reads the `CHECK_LAYOUT_DELAY` +// variable to optionally add a delay. This global variable is not intended +// to be set by other tests; instead, polyfills can set it to give themselves +// time to apply changes before proceeding with assertions about the layout. +// Tests that call this function and then do additional work after the call +// should `await` it to avoid race conditions. +window.checkLayoutForAnchorPos = async function(selectorList, callDone = true) { + if (window.CHECK_LAYOUT_DELAY) { + assert_equals(window.INJECTED_SCRIPT,undefined,'CHECK_LAYOUT_DELAY is only allowed when serving WPT with --injected-script.'); + await waitUntilNextAnimationFrame(); + await waitUntilNextAnimationFrame(); + await waitUntilNextAnimationFrame(); + } + return window.checkLayout(selectorList, callDone); +} -- cgit v1.2.3