From 43a97878ce14b72f0981164f87f2e35e14151312 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 11:22:09 +0200 Subject: Adding upstream version 110.0.1. Signed-off-by: Daniel Baumann --- .../tests/css/css-scroll-anchoring/META.yml | 3 + .../tests/css/css-scroll-anchoring/README.md | 8 ++ .../abspos-containing-block-outside-scroller.html | 55 ++++++++ ...abspos-contributes-to-static-parent-bounds.html | 40 ++++++ .../abspos-in-multicol-001.html | 38 ++++++ .../abspos-in-multicol-002.html | 43 +++++++ .../abspos-in-multicol-003.html | 39 ++++++ .../ancestor-change-heuristic.html | 81 ++++++++++++ .../css-scroll-anchoring/anchor-inside-iframe.html | 27 ++++ .../anchor-updates-after-explicit-scroll.html | 51 ++++++++ .../anchoring-with-bounds-clamping-div.html | 38 ++++++ .../anchoring-with-bounds-clamping.html | 28 ++++ .../css-scroll-anchoring/anonymous-block-box.html | 34 +++++ .../tests/css/css-scroll-anchoring/basic.html | 23 ++++ .../clamp-negative-overflow.html | 61 +++++++++ .../clipped-scrollers-skipped.html | 38 ++++++ .../contain-paint-offscreen-container.html | 42 ++++++ .../descend-into-container-with-float.html | 36 ++++++ .../descend-into-container-with-overflow.html | 30 +++++ .../device-pixel-adjustment.html | 77 +++++++++++ .../dirty-contents-reselect-anchor.tentative.html | 54 ++++++++ .../exclude-fixed-position.html | 26 ++++ .../css/css-scroll-anchoring/exclude-inline.html | 34 +++++ .../css/css-scroll-anchoring/exclude-sticky.html | 28 ++++ .../css-scroll-anchoring/focus-prioritized.html | 46 +++++++ .../fragment-scrolling-anchors.html | 54 ++++++++ .../css/css-scroll-anchoring/fullscreen-crash.html | 33 +++++ ...h-offset-update-from-scroll-event-listener.html | 59 +++++++++ .../heuristic-with-offset-update.html | 58 +++++++++ .../history-restore-anchors.html | 36 ++++++ .../tests/css/css-scroll-anchoring/image-001.html | 29 +++++ .../infinite-scroll-event.tentative.html | 39 ++++++ .../css/css-scroll-anchoring/inheritance.html | 21 +++ .../css/css-scroll-anchoring/inline-block-002.html | 28 ++++ .../css/css-scroll-anchoring/inline-block.html | 26 ++++ .../multicol-fragmented-anchor.html | 56 ++++++++ .../negative-layout-overflow.html | 44 +++++++ .../nested-overflow-subtree-layout-ref.html | 44 +++++++ ...ested-overflow-subtree-layout-vertical-ref.html | 45 +++++++ .../nested-overflow-subtree-layout-vertical.html | 52 ++++++++ .../nested-overflow-subtree-layout.html | 51 ++++++++ .../opt-out-dynamic-scroller.html | 49 +++++++ .../css/css-scroll-anchoring/opt-out-dynamic.html | 51 ++++++++ .../css-scroll-anchoring/opt-out-inner-table.html | 47 +++++++ .../css/css-scroll-anchoring/opt-out-table.html | 45 +++++++ .../tests/css/css-scroll-anchoring/opt-out.html | 74 +++++++++++ .../parsing/overflow-anchor-computed.html | 19 +++ .../parsing/overflow-anchor-invalid.html | 18 +++ .../parsing/overflow-anchor-valid.html | 18 +++ ...ition-change-heuristic-display-none-change.html | 72 +++++++++++ ...ge-heuristic-display-none-to-abspos-change.html | 71 +++++++++++ .../position-change-heuristic-ib-split.html | 57 +++++++++ ...tion-change-heuristic-in-nested-scroll-box.html | 85 +++++++++++++ .../position-change-heuristic.html | 82 ++++++++++++ .../reading-scroll-forces-anchoring.html | 30 +++++ .../scroll-padding-affects-anchoring.html | 32 +++++ .../start-edge-in-block-layout-direction.html | 141 +++++++++++++++++++++ .../css-scroll-anchoring/subtree-exclusion.html | 45 +++++++ .../support/flexbox-scrolling-vertical-rl.html | 20 +++ .../history-restore-anchors-new-window.html | 29 +++++ .../support/scrolling-vertical-rl.html | 18 +++ .../table-collapsed-borders-crash.html | 25 ++++ .../text-anchor-in-vertical-rl.html | 30 +++++ .../vertical-rl-viewport-size-change-000.html | 21 +++ .../vertical-rl-viewport-size-change-001.html | 21 +++ .../css/css-scroll-anchoring/wrapped-text.html | 28 ++++ .../css-scroll-anchoring/zero-scroll-offset.html | 53 ++++++++ 67 files changed, 2836 insertions(+) create mode 100644 testing/web-platform/tests/css/css-scroll-anchoring/META.yml create mode 100644 testing/web-platform/tests/css/css-scroll-anchoring/README.md create mode 100644 testing/web-platform/tests/css/css-scroll-anchoring/abspos-containing-block-outside-scroller.html create mode 100644 testing/web-platform/tests/css/css-scroll-anchoring/abspos-contributes-to-static-parent-bounds.html create mode 100644 testing/web-platform/tests/css/css-scroll-anchoring/abspos-in-multicol-001.html create mode 100644 testing/web-platform/tests/css/css-scroll-anchoring/abspos-in-multicol-002.html create mode 100644 testing/web-platform/tests/css/css-scroll-anchoring/abspos-in-multicol-003.html create mode 100644 testing/web-platform/tests/css/css-scroll-anchoring/ancestor-change-heuristic.html create mode 100644 testing/web-platform/tests/css/css-scroll-anchoring/anchor-inside-iframe.html create mode 100644 testing/web-platform/tests/css/css-scroll-anchoring/anchor-updates-after-explicit-scroll.html create mode 100644 testing/web-platform/tests/css/css-scroll-anchoring/anchoring-with-bounds-clamping-div.html create mode 100644 testing/web-platform/tests/css/css-scroll-anchoring/anchoring-with-bounds-clamping.html create mode 100644 testing/web-platform/tests/css/css-scroll-anchoring/anonymous-block-box.html create mode 100644 testing/web-platform/tests/css/css-scroll-anchoring/basic.html create mode 100644 testing/web-platform/tests/css/css-scroll-anchoring/clamp-negative-overflow.html create mode 100644 testing/web-platform/tests/css/css-scroll-anchoring/clipped-scrollers-skipped.html create mode 100644 testing/web-platform/tests/css/css-scroll-anchoring/contain-paint-offscreen-container.html create mode 100644 testing/web-platform/tests/css/css-scroll-anchoring/descend-into-container-with-float.html create mode 100644 testing/web-platform/tests/css/css-scroll-anchoring/descend-into-container-with-overflow.html create mode 100644 testing/web-platform/tests/css/css-scroll-anchoring/device-pixel-adjustment.html create mode 100644 testing/web-platform/tests/css/css-scroll-anchoring/dirty-contents-reselect-anchor.tentative.html create mode 100644 testing/web-platform/tests/css/css-scroll-anchoring/exclude-fixed-position.html create mode 100644 testing/web-platform/tests/css/css-scroll-anchoring/exclude-inline.html create mode 100644 testing/web-platform/tests/css/css-scroll-anchoring/exclude-sticky.html create mode 100644 testing/web-platform/tests/css/css-scroll-anchoring/focus-prioritized.html create mode 100644 testing/web-platform/tests/css/css-scroll-anchoring/fragment-scrolling-anchors.html create mode 100644 testing/web-platform/tests/css/css-scroll-anchoring/fullscreen-crash.html create mode 100644 testing/web-platform/tests/css/css-scroll-anchoring/heuristic-with-offset-update-from-scroll-event-listener.html create mode 100644 testing/web-platform/tests/css/css-scroll-anchoring/heuristic-with-offset-update.html create mode 100644 testing/web-platform/tests/css/css-scroll-anchoring/history-restore-anchors.html create mode 100644 testing/web-platform/tests/css/css-scroll-anchoring/image-001.html create mode 100644 testing/web-platform/tests/css/css-scroll-anchoring/infinite-scroll-event.tentative.html create mode 100644 testing/web-platform/tests/css/css-scroll-anchoring/inheritance.html create mode 100644 testing/web-platform/tests/css/css-scroll-anchoring/inline-block-002.html create mode 100644 testing/web-platform/tests/css/css-scroll-anchoring/inline-block.html create mode 100644 testing/web-platform/tests/css/css-scroll-anchoring/multicol-fragmented-anchor.html create mode 100644 testing/web-platform/tests/css/css-scroll-anchoring/negative-layout-overflow.html create mode 100644 testing/web-platform/tests/css/css-scroll-anchoring/nested-overflow-subtree-layout-ref.html create mode 100644 testing/web-platform/tests/css/css-scroll-anchoring/nested-overflow-subtree-layout-vertical-ref.html create mode 100644 testing/web-platform/tests/css/css-scroll-anchoring/nested-overflow-subtree-layout-vertical.html create mode 100644 testing/web-platform/tests/css/css-scroll-anchoring/nested-overflow-subtree-layout.html create mode 100644 testing/web-platform/tests/css/css-scroll-anchoring/opt-out-dynamic-scroller.html create mode 100644 testing/web-platform/tests/css/css-scroll-anchoring/opt-out-dynamic.html create mode 100644 testing/web-platform/tests/css/css-scroll-anchoring/opt-out-inner-table.html create mode 100644 testing/web-platform/tests/css/css-scroll-anchoring/opt-out-table.html create mode 100644 testing/web-platform/tests/css/css-scroll-anchoring/opt-out.html create mode 100644 testing/web-platform/tests/css/css-scroll-anchoring/parsing/overflow-anchor-computed.html create mode 100644 testing/web-platform/tests/css/css-scroll-anchoring/parsing/overflow-anchor-invalid.html create mode 100644 testing/web-platform/tests/css/css-scroll-anchoring/parsing/overflow-anchor-valid.html create mode 100644 testing/web-platform/tests/css/css-scroll-anchoring/position-change-heuristic-display-none-change.html create mode 100644 testing/web-platform/tests/css/css-scroll-anchoring/position-change-heuristic-display-none-to-abspos-change.html create mode 100644 testing/web-platform/tests/css/css-scroll-anchoring/position-change-heuristic-ib-split.html create mode 100644 testing/web-platform/tests/css/css-scroll-anchoring/position-change-heuristic-in-nested-scroll-box.html create mode 100644 testing/web-platform/tests/css/css-scroll-anchoring/position-change-heuristic.html create mode 100644 testing/web-platform/tests/css/css-scroll-anchoring/reading-scroll-forces-anchoring.html create mode 100644 testing/web-platform/tests/css/css-scroll-anchoring/scroll-padding-affects-anchoring.html create mode 100644 testing/web-platform/tests/css/css-scroll-anchoring/start-edge-in-block-layout-direction.html create mode 100644 testing/web-platform/tests/css/css-scroll-anchoring/subtree-exclusion.html create mode 100644 testing/web-platform/tests/css/css-scroll-anchoring/support/flexbox-scrolling-vertical-rl.html create mode 100644 testing/web-platform/tests/css/css-scroll-anchoring/support/history-restore-anchors-new-window.html create mode 100644 testing/web-platform/tests/css/css-scroll-anchoring/support/scrolling-vertical-rl.html create mode 100644 testing/web-platform/tests/css/css-scroll-anchoring/table-collapsed-borders-crash.html create mode 100644 testing/web-platform/tests/css/css-scroll-anchoring/text-anchor-in-vertical-rl.html create mode 100644 testing/web-platform/tests/css/css-scroll-anchoring/vertical-rl-viewport-size-change-000.html create mode 100644 testing/web-platform/tests/css/css-scroll-anchoring/vertical-rl-viewport-size-change-001.html create mode 100644 testing/web-platform/tests/css/css-scroll-anchoring/wrapped-text.html create mode 100644 testing/web-platform/tests/css/css-scroll-anchoring/zero-scroll-offset.html (limited to 'testing/web-platform/tests/css/css-scroll-anchoring') diff --git a/testing/web-platform/tests/css/css-scroll-anchoring/META.yml b/testing/web-platform/tests/css/css-scroll-anchoring/META.yml new file mode 100644 index 0000000000..3d24f5cc9f --- /dev/null +++ b/testing/web-platform/tests/css/css-scroll-anchoring/META.yml @@ -0,0 +1,3 @@ +spec: https://drafts.csswg.org/css-scroll-anchoring/ +suggested_reviewers: + - tabatkins diff --git a/testing/web-platform/tests/css/css-scroll-anchoring/README.md b/testing/web-platform/tests/css/css-scroll-anchoring/README.md new file mode 100644 index 0000000000..78f1387bdf --- /dev/null +++ b/testing/web-platform/tests/css/css-scroll-anchoring/README.md @@ -0,0 +1,8 @@ +## Scroll Anchoring Test Suite + +Scroll anchoring adjusts the scroll position to prevent visible jumps (or +"reflows") when content changes above the viewport. + +* [explainer](https://github.com/WICG/ScrollAnchoring/blob/master/explainer.md) +* [spec](https://drafts.csswg.org/css-scroll-anchoring/) +* [file bug / view open issues](https://github.com/w3c/csswg-drafts/issues) diff --git a/testing/web-platform/tests/css/css-scroll-anchoring/abspos-containing-block-outside-scroller.html b/testing/web-platform/tests/css/css-scroll-anchoring/abspos-containing-block-outside-scroller.html new file mode 100644 index 0000000000..76a4952383 --- /dev/null +++ b/testing/web-platform/tests/css/css-scroll-anchoring/abspos-containing-block-outside-scroller.html @@ -0,0 +1,55 @@ + + + + +
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-scroll-anchoring/abspos-contributes-to-static-parent-bounds.html b/testing/web-platform/tests/css/css-scroll-anchoring/abspos-contributes-to-static-parent-bounds.html new file mode 100644 index 0000000000..5d8ff9a911 --- /dev/null +++ b/testing/web-platform/tests/css/css-scroll-anchoring/abspos-contributes-to-static-parent-bounds.html @@ -0,0 +1,40 @@ + + + + +
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-scroll-anchoring/abspos-in-multicol-001.html b/testing/web-platform/tests/css/css-scroll-anchoring/abspos-in-multicol-001.html new file mode 100644 index 0000000000..ee11148747 --- /dev/null +++ b/testing/web-platform/tests/css/css-scroll-anchoring/abspos-in-multicol-001.html @@ -0,0 +1,38 @@ + + + + + + +
abc def ghi
+ + + diff --git a/testing/web-platform/tests/css/css-scroll-anchoring/abspos-in-multicol-002.html b/testing/web-platform/tests/css/css-scroll-anchoring/abspos-in-multicol-002.html new file mode 100644 index 0000000000..6c254d437a --- /dev/null +++ b/testing/web-platform/tests/css/css-scroll-anchoring/abspos-in-multicol-002.html @@ -0,0 +1,43 @@ + + + + + + +
abc def ghi
+ + + diff --git a/testing/web-platform/tests/css/css-scroll-anchoring/abspos-in-multicol-003.html b/testing/web-platform/tests/css/css-scroll-anchoring/abspos-in-multicol-003.html new file mode 100644 index 0000000000..01caa895da --- /dev/null +++ b/testing/web-platform/tests/css/css-scroll-anchoring/abspos-in-multicol-003.html @@ -0,0 +1,39 @@ + + + + + + + +
abc def ghi
+ + + diff --git a/testing/web-platform/tests/css/css-scroll-anchoring/ancestor-change-heuristic.html b/testing/web-platform/tests/css/css-scroll-anchoring/ancestor-change-heuristic.html new file mode 100644 index 0000000000..21adfbb6b7 --- /dev/null +++ b/testing/web-platform/tests/css/css-scroll-anchoring/ancestor-change-heuristic.html @@ -0,0 +1,81 @@ + + + + +
+
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-scroll-anchoring/anchor-inside-iframe.html b/testing/web-platform/tests/css/css-scroll-anchoring/anchor-inside-iframe.html new file mode 100644 index 0000000000..ea1ce4b13d --- /dev/null +++ b/testing/web-platform/tests/css/css-scroll-anchoring/anchor-inside-iframe.html @@ -0,0 +1,27 @@ + + + + + + diff --git a/testing/web-platform/tests/css/css-scroll-anchoring/anchor-updates-after-explicit-scroll.html b/testing/web-platform/tests/css/css-scroll-anchoring/anchor-updates-after-explicit-scroll.html new file mode 100644 index 0000000000..7f0c54d1dc --- /dev/null +++ b/testing/web-platform/tests/css/css-scroll-anchoring/anchor-updates-after-explicit-scroll.html @@ -0,0 +1,51 @@ + + + + +
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-scroll-anchoring/anchoring-with-bounds-clamping-div.html b/testing/web-platform/tests/css/css-scroll-anchoring/anchoring-with-bounds-clamping-div.html new file mode 100644 index 0000000000..3de725e683 --- /dev/null +++ b/testing/web-platform/tests/css/css-scroll-anchoring/anchoring-with-bounds-clamping-div.html @@ -0,0 +1,38 @@ + + + + +
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-scroll-anchoring/anchoring-with-bounds-clamping.html b/testing/web-platform/tests/css/css-scroll-anchoring/anchoring-with-bounds-clamping.html new file mode 100644 index 0000000000..e9d06579d5 --- /dev/null +++ b/testing/web-platform/tests/css/css-scroll-anchoring/anchoring-with-bounds-clamping.html @@ -0,0 +1,28 @@ + + + + +
+
+ diff --git a/testing/web-platform/tests/css/css-scroll-anchoring/anonymous-block-box.html b/testing/web-platform/tests/css/css-scroll-anchoring/anonymous-block-box.html new file mode 100644 index 0000000000..97542e2613 --- /dev/null +++ b/testing/web-platform/tests/css/css-scroll-anchoring/anonymous-block-box.html @@ -0,0 +1,34 @@ + + + + +
+
before
+ inline +
after
+
+ diff --git a/testing/web-platform/tests/css/css-scroll-anchoring/basic.html b/testing/web-platform/tests/css/css-scroll-anchoring/basic.html new file mode 100644 index 0000000000..99625ba7da --- /dev/null +++ b/testing/web-platform/tests/css/css-scroll-anchoring/basic.html @@ -0,0 +1,23 @@ + + + + +
abc
+
def
+ diff --git a/testing/web-platform/tests/css/css-scroll-anchoring/clamp-negative-overflow.html b/testing/web-platform/tests/css/css-scroll-anchoring/clamp-negative-overflow.html new file mode 100644 index 0000000000..4f0b5fe9a2 --- /dev/null +++ b/testing/web-platform/tests/css/css-scroll-anchoring/clamp-negative-overflow.html @@ -0,0 +1,61 @@ + + + + + + + + + + +
+
+
+
+
+
+ + + diff --git a/testing/web-platform/tests/css/css-scroll-anchoring/clipped-scrollers-skipped.html b/testing/web-platform/tests/css/css-scroll-anchoring/clipped-scrollers-skipped.html new file mode 100644 index 0000000000..594cd604f4 --- /dev/null +++ b/testing/web-platform/tests/css/css-scroll-anchoring/clipped-scrollers-skipped.html @@ -0,0 +1,38 @@ + + + + +
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-scroll-anchoring/contain-paint-offscreen-container.html b/testing/web-platform/tests/css/css-scroll-anchoring/contain-paint-offscreen-container.html new file mode 100644 index 0000000000..58f41cc748 --- /dev/null +++ b/testing/web-platform/tests/css/css-scroll-anchoring/contain-paint-offscreen-container.html @@ -0,0 +1,42 @@ + + + + + + + + + + +
+
+
+
+
+
+ + diff --git a/testing/web-platform/tests/css/css-scroll-anchoring/descend-into-container-with-float.html b/testing/web-platform/tests/css/css-scroll-anchoring/descend-into-container-with-float.html new file mode 100644 index 0000000000..ff39608ff0 --- /dev/null +++ b/testing/web-platform/tests/css/css-scroll-anchoring/descend-into-container-with-float.html @@ -0,0 +1,36 @@ + + + + +
+
+
+
+
+
+
+
+
after
+ diff --git a/testing/web-platform/tests/css/css-scroll-anchoring/descend-into-container-with-overflow.html b/testing/web-platform/tests/css/css-scroll-anchoring/descend-into-container-with-overflow.html new file mode 100644 index 0000000000..654f34a051 --- /dev/null +++ b/testing/web-platform/tests/css/css-scroll-anchoring/descend-into-container-with-overflow.html @@ -0,0 +1,30 @@ + + + + +
+
+
+
bottom
+
+
+ diff --git a/testing/web-platform/tests/css/css-scroll-anchoring/device-pixel-adjustment.html b/testing/web-platform/tests/css/css-scroll-anchoring/device-pixel-adjustment.html new file mode 100644 index 0000000000..4a135939fd --- /dev/null +++ b/testing/web-platform/tests/css/css-scroll-anchoring/device-pixel-adjustment.html @@ -0,0 +1,77 @@ + + + + + +
+
+ diff --git a/testing/web-platform/tests/css/css-scroll-anchoring/dirty-contents-reselect-anchor.tentative.html b/testing/web-platform/tests/css/css-scroll-anchoring/dirty-contents-reselect-anchor.tentative.html new file mode 100644 index 0000000000..41adf53a0f --- /dev/null +++ b/testing/web-platform/tests/css/css-scroll-anchoring/dirty-contents-reselect-anchor.tentative.html @@ -0,0 +1,54 @@ + + + + + + + +
+ + +
fixed
+
+
content
+ diff --git a/testing/web-platform/tests/css/css-scroll-anchoring/exclude-inline.html b/testing/web-platform/tests/css/css-scroll-anchoring/exclude-inline.html new file mode 100644 index 0000000000..cea6b61dfe --- /dev/null +++ b/testing/web-platform/tests/css/css-scroll-anchoring/exclude-inline.html @@ -0,0 +1,34 @@ + + + + + +out of view +
+excluded subtree [nested inline] +
+ diff --git a/testing/web-platform/tests/css/css-scroll-anchoring/exclude-sticky.html b/testing/web-platform/tests/css/css-scroll-anchoring/exclude-sticky.html new file mode 100644 index 0000000000..2158d39802 --- /dev/null +++ b/testing/web-platform/tests/css/css-scroll-anchoring/exclude-sticky.html @@ -0,0 +1,28 @@ + + + + + + +
sticky
+
+
content
+ diff --git a/testing/web-platform/tests/css/css-scroll-anchoring/focus-prioritized.html b/testing/web-platform/tests/css/css-scroll-anchoring/focus-prioritized.html new file mode 100644 index 0000000000..32d90badca --- /dev/null +++ b/testing/web-platform/tests/css/css-scroll-anchoring/focus-prioritized.html @@ -0,0 +1,46 @@ + + +CSS Scroll Anchoring: prioritize focused element + + + + + + + + + +
+
+
+
+
+
+
+
+
+ + diff --git a/testing/web-platform/tests/css/css-scroll-anchoring/fragment-scrolling-anchors.html b/testing/web-platform/tests/css/css-scroll-anchoring/fragment-scrolling-anchors.html new file mode 100644 index 0000000000..74b633be98 --- /dev/null +++ b/testing/web-platform/tests/css/css-scroll-anchoring/fragment-scrolling-anchors.html @@ -0,0 +1,54 @@ + + + + + + +
+
+
+
+
+ + diff --git a/testing/web-platform/tests/css/css-scroll-anchoring/fullscreen-crash.html b/testing/web-platform/tests/css/css-scroll-anchoring/fullscreen-crash.html new file mode 100644 index 0000000000..545f2919b5 --- /dev/null +++ b/testing/web-platform/tests/css/css-scroll-anchoring/fullscreen-crash.html @@ -0,0 +1,33 @@ + + + + + + + + + +
+ + diff --git a/testing/web-platform/tests/css/css-scroll-anchoring/heuristic-with-offset-update-from-scroll-event-listener.html b/testing/web-platform/tests/css/css-scroll-anchoring/heuristic-with-offset-update-from-scroll-event-listener.html new file mode 100644 index 0000000000..b3964dfcc7 --- /dev/null +++ b/testing/web-platform/tests/css/css-scroll-anchoring/heuristic-with-offset-update-from-scroll-event-listener.html @@ -0,0 +1,59 @@ + + + + + + + + + +
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-scroll-anchoring/heuristic-with-offset-update.html b/testing/web-platform/tests/css/css-scroll-anchoring/heuristic-with-offset-update.html new file mode 100644 index 0000000000..7fcbd983ed --- /dev/null +++ b/testing/web-platform/tests/css/css-scroll-anchoring/heuristic-with-offset-update.html @@ -0,0 +1,58 @@ + + + + + + + + + + +
+
+
+
+
+
+ + + + diff --git a/testing/web-platform/tests/css/css-scroll-anchoring/history-restore-anchors.html b/testing/web-platform/tests/css/css-scroll-anchoring/history-restore-anchors.html new file mode 100644 index 0000000000..ecd7806bc9 --- /dev/null +++ b/testing/web-platform/tests/css/css-scroll-anchoring/history-restore-anchors.html @@ -0,0 +1,36 @@ + + + + + + diff --git a/testing/web-platform/tests/css/css-scroll-anchoring/image-001.html b/testing/web-platform/tests/css/css-scroll-anchoring/image-001.html new file mode 100644 index 0000000000..475c9170b8 --- /dev/null +++ b/testing/web-platform/tests/css/css-scroll-anchoring/image-001.html @@ -0,0 +1,29 @@ + + +CSS Scroll Anchoring: Anchor node can be an image + + + + + + + + +
+

+ + diff --git a/testing/web-platform/tests/css/css-scroll-anchoring/infinite-scroll-event.tentative.html b/testing/web-platform/tests/css/css-scroll-anchoring/infinite-scroll-event.tentative.html new file mode 100644 index 0000000000..4bc222f4e7 --- /dev/null +++ b/testing/web-platform/tests/css/css-scroll-anchoring/infinite-scroll-event.tentative.html @@ -0,0 +1,39 @@ + + + + + + + + +
+ +
+
+
+ diff --git a/testing/web-platform/tests/css/css-scroll-anchoring/inheritance.html b/testing/web-platform/tests/css/css-scroll-anchoring/inheritance.html new file mode 100644 index 0000000000..035d4ffd2e --- /dev/null +++ b/testing/web-platform/tests/css/css-scroll-anchoring/inheritance.html @@ -0,0 +1,21 @@ + + + + +Inheritance of CSS Scroll Anchoring properties + + + + + + + + +
+
+
+ + + diff --git a/testing/web-platform/tests/css/css-scroll-anchoring/inline-block-002.html b/testing/web-platform/tests/css/css-scroll-anchoring/inline-block-002.html new file mode 100644 index 0000000000..9163d34b3b --- /dev/null +++ b/testing/web-platform/tests/css/css-scroll-anchoring/inline-block-002.html @@ -0,0 +1,28 @@ + + +CSS Scroll Anchoring: Anchor node can be an empty inline-block + + + + + + + + + +

+ + diff --git a/testing/web-platform/tests/css/css-scroll-anchoring/inline-block.html b/testing/web-platform/tests/css/css-scroll-anchoring/inline-block.html new file mode 100644 index 0000000000..881ff97de9 --- /dev/null +++ b/testing/web-platform/tests/css/css-scroll-anchoring/inline-block.html @@ -0,0 +1,26 @@ + + + + + + abc +

+ def +
+ diff --git a/testing/web-platform/tests/css/css-scroll-anchoring/multicol-fragmented-anchor.html b/testing/web-platform/tests/css/css-scroll-anchoring/multicol-fragmented-anchor.html new file mode 100644 index 0000000000..931a88ccbf --- /dev/null +++ b/testing/web-platform/tests/css/css-scroll-anchoring/multicol-fragmented-anchor.html @@ -0,0 +1,56 @@ + + + + + + +
+
+
+
+
content
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-scroll-anchoring/negative-layout-overflow.html b/testing/web-platform/tests/css/css-scroll-anchoring/negative-layout-overflow.html new file mode 100644 index 0000000000..e1ce331f1a --- /dev/null +++ b/testing/web-platform/tests/css/css-scroll-anchoring/negative-layout-overflow.html @@ -0,0 +1,44 @@ + + + + + +
+
+ diff --git a/testing/web-platform/tests/css/css-scroll-anchoring/nested-overflow-subtree-layout-ref.html b/testing/web-platform/tests/css/css-scroll-anchoring/nested-overflow-subtree-layout-ref.html new file mode 100644 index 0000000000..003cb9b68a --- /dev/null +++ b/testing/web-platform/tests/css/css-scroll-anchoring/nested-overflow-subtree-layout-ref.html @@ -0,0 +1,44 @@ + + + + + + + + + + +
+
+

Anchor

+
+
+ diff --git a/testing/web-platform/tests/css/css-scroll-anchoring/nested-overflow-subtree-layout-vertical-ref.html b/testing/web-platform/tests/css/css-scroll-anchoring/nested-overflow-subtree-layout-vertical-ref.html new file mode 100644 index 0000000000..0026f2f888 --- /dev/null +++ b/testing/web-platform/tests/css/css-scroll-anchoring/nested-overflow-subtree-layout-vertical-ref.html @@ -0,0 +1,45 @@ + + + + + + + + + + + +
+
+

Anchor

+
+
+ diff --git a/testing/web-platform/tests/css/css-scroll-anchoring/nested-overflow-subtree-layout-vertical.html b/testing/web-platform/tests/css/css-scroll-anchoring/nested-overflow-subtree-layout-vertical.html new file mode 100644 index 0000000000..5b176a2042 --- /dev/null +++ b/testing/web-platform/tests/css/css-scroll-anchoring/nested-overflow-subtree-layout-vertical.html @@ -0,0 +1,52 @@ + + + + Test that subtree layout with nested overflow preserves scroll anchoring in vertical mode. + + + + + + + + + +
+
+

Anchor

+
+
+ diff --git a/testing/web-platform/tests/css/css-scroll-anchoring/nested-overflow-subtree-layout.html b/testing/web-platform/tests/css/css-scroll-anchoring/nested-overflow-subtree-layout.html new file mode 100644 index 0000000000..e7696016bb --- /dev/null +++ b/testing/web-platform/tests/css/css-scroll-anchoring/nested-overflow-subtree-layout.html @@ -0,0 +1,51 @@ + + + + Test that subtree layout with nested overflow preserves scroll anchoring. + + + + + + + + +
+
+

Anchor

+
+
+ diff --git a/testing/web-platform/tests/css/css-scroll-anchoring/opt-out-dynamic-scroller.html b/testing/web-platform/tests/css/css-scroll-anchoring/opt-out-dynamic-scroller.html new file mode 100644 index 0000000000..6ccbc4f2fd --- /dev/null +++ b/testing/web-platform/tests/css/css-scroll-anchoring/opt-out-dynamic-scroller.html @@ -0,0 +1,49 @@ + + + + + + +
+
+
content
+
+ diff --git a/testing/web-platform/tests/css/css-scroll-anchoring/opt-out-dynamic.html b/testing/web-platform/tests/css/css-scroll-anchoring/opt-out-dynamic.html new file mode 100644 index 0000000000..ec548dc3d6 --- /dev/null +++ b/testing/web-platform/tests/css/css-scroll-anchoring/opt-out-dynamic.html @@ -0,0 +1,51 @@ + + + + + + +
+
+
content
+
+ diff --git a/testing/web-platform/tests/css/css-scroll-anchoring/opt-out-inner-table.html b/testing/web-platform/tests/css/css-scroll-anchoring/opt-out-inner-table.html new file mode 100644 index 0000000000..d5ec073821 --- /dev/null +++ b/testing/web-platform/tests/css/css-scroll-anchoring/opt-out-inner-table.html @@ -0,0 +1,47 @@ + + + + + + +
+
+
content
+
+
+ diff --git a/testing/web-platform/tests/css/css-scroll-anchoring/opt-out-table.html b/testing/web-platform/tests/css/css-scroll-anchoring/opt-out-table.html new file mode 100644 index 0000000000..83cfef9797 --- /dev/null +++ b/testing/web-platform/tests/css/css-scroll-anchoring/opt-out-table.html @@ -0,0 +1,45 @@ + + + + + + +
+
+
content
+
+ diff --git a/testing/web-platform/tests/css/css-scroll-anchoring/opt-out.html b/testing/web-platform/tests/css/css-scroll-anchoring/opt-out.html new file mode 100644 index 0000000000..12d46c13f9 --- /dev/null +++ b/testing/web-platform/tests/css/css-scroll-anchoring/opt-out.html @@ -0,0 +1,74 @@ + + + + +
+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-scroll-anchoring/parsing/overflow-anchor-computed.html b/testing/web-platform/tests/css/css-scroll-anchoring/parsing/overflow-anchor-computed.html new file mode 100644 index 0000000000..16b41edb86 --- /dev/null +++ b/testing/web-platform/tests/css/css-scroll-anchoring/parsing/overflow-anchor-computed.html @@ -0,0 +1,19 @@ + + + + +CSS Scroll Anchoring: getComputedStyle().overflowAnchor + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/css/css-scroll-anchoring/parsing/overflow-anchor-invalid.html b/testing/web-platform/tests/css/css-scroll-anchoring/parsing/overflow-anchor-invalid.html new file mode 100644 index 0000000000..af66cd6e8a --- /dev/null +++ b/testing/web-platform/tests/css/css-scroll-anchoring/parsing/overflow-anchor-invalid.html @@ -0,0 +1,18 @@ + + + + +CSS Scroll Anchoring: parsing overflow-anchor with invalid values + + + + + + + + + + diff --git a/testing/web-platform/tests/css/css-scroll-anchoring/parsing/overflow-anchor-valid.html b/testing/web-platform/tests/css/css-scroll-anchoring/parsing/overflow-anchor-valid.html new file mode 100644 index 0000000000..62b9761552 --- /dev/null +++ b/testing/web-platform/tests/css/css-scroll-anchoring/parsing/overflow-anchor-valid.html @@ -0,0 +1,18 @@ + + + + +CSS Scroll Anchoring: parsing overflow-anchor with valid values + + + + + + + + + + diff --git a/testing/web-platform/tests/css/css-scroll-anchoring/position-change-heuristic-display-none-change.html b/testing/web-platform/tests/css/css-scroll-anchoring/position-change-heuristic-display-none-change.html new file mode 100644 index 0000000000..6e00238382 --- /dev/null +++ b/testing/web-platform/tests/css/css-scroll-anchoring/position-change-heuristic-display-none-change.html @@ -0,0 +1,72 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + +
1 + 1 + 1 + 1 +
1 + 1 + 1 + 1 +
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
+
+ diff --git a/testing/web-platform/tests/css/css-scroll-anchoring/position-change-heuristic-display-none-to-abspos-change.html b/testing/web-platform/tests/css/css-scroll-anchoring/position-change-heuristic-display-none-to-abspos-change.html new file mode 100644 index 0000000000..5cf27d9e6b --- /dev/null +++ b/testing/web-platform/tests/css/css-scroll-anchoring/position-change-heuristic-display-none-to-abspos-change.html @@ -0,0 +1,71 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + +
1 + 1 + 1 + 1 +
1 + 1 + 1 + 1 +
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
0 0 0 0
+
+ diff --git a/testing/web-platform/tests/css/css-scroll-anchoring/position-change-heuristic-ib-split.html b/testing/web-platform/tests/css/css-scroll-anchoring/position-change-heuristic-ib-split.html new file mode 100644 index 0000000000..e903325112 --- /dev/null +++ b/testing/web-platform/tests/css/css-scroll-anchoring/position-change-heuristic-ib-split.html @@ -0,0 +1,57 @@ + + + + + + + + +
+

Some title

+
Sticky header
+
+
+ Some actual content. +
+ diff --git a/testing/web-platform/tests/css/css-scroll-anchoring/position-change-heuristic-in-nested-scroll-box.html b/testing/web-platform/tests/css/css-scroll-anchoring/position-change-heuristic-in-nested-scroll-box.html new file mode 100644 index 0000000000..58c88001d5 --- /dev/null +++ b/testing/web-platform/tests/css/css-scroll-anchoring/position-change-heuristic-in-nested-scroll-box.html @@ -0,0 +1,85 @@ + + + + + +
+
+ +
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-scroll-anchoring/position-change-heuristic.html b/testing/web-platform/tests/css/css-scroll-anchoring/position-change-heuristic.html new file mode 100644 index 0000000000..b36b211f58 --- /dev/null +++ b/testing/web-platform/tests/css/css-scroll-anchoring/position-change-heuristic.html @@ -0,0 +1,82 @@ + + + + +
+
+ +
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-scroll-anchoring/reading-scroll-forces-anchoring.html b/testing/web-platform/tests/css/css-scroll-anchoring/reading-scroll-forces-anchoring.html new file mode 100644 index 0000000000..39b8e36398 --- /dev/null +++ b/testing/web-platform/tests/css/css-scroll-anchoring/reading-scroll-forces-anchoring.html @@ -0,0 +1,30 @@ + + + + + +
abc
+
def
+ diff --git a/testing/web-platform/tests/css/css-scroll-anchoring/scroll-padding-affects-anchoring.html b/testing/web-platform/tests/css/css-scroll-anchoring/scroll-padding-affects-anchoring.html new file mode 100644 index 0000000000..e2c8741d88 --- /dev/null +++ b/testing/web-platform/tests/css/css-scroll-anchoring/scroll-padding-affects-anchoring.html @@ -0,0 +1,32 @@ + +scroll anchoring accounts for scroll-padding + + + + + + + +
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-scroll-anchoring/start-edge-in-block-layout-direction.html b/testing/web-platform/tests/css/css-scroll-anchoring/start-edge-in-block-layout-direction.html new file mode 100644 index 0000000000..043844d056 --- /dev/null +++ b/testing/web-platform/tests/css/css-scroll-anchoring/start-edge-in-block-layout-direction.html @@ -0,0 +1,141 @@ + + + + + +
+

+
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-scroll-anchoring/subtree-exclusion.html b/testing/web-platform/tests/css/css-scroll-anchoring/subtree-exclusion.html new file mode 100644 index 0000000000..25961b3664 --- /dev/null +++ b/testing/web-platform/tests/css/css-scroll-anchoring/subtree-exclusion.html @@ -0,0 +1,45 @@ + + + + +
+
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-scroll-anchoring/support/flexbox-scrolling-vertical-rl.html b/testing/web-platform/tests/css/css-scroll-anchoring/support/flexbox-scrolling-vertical-rl.html new file mode 100644 index 0000000000..1a2d02d5c7 --- /dev/null +++ b/testing/web-platform/tests/css/css-scroll-anchoring/support/flexbox-scrolling-vertical-rl.html @@ -0,0 +1,20 @@ + + + +
+
+
+
+
+ diff --git a/testing/web-platform/tests/css/css-scroll-anchoring/support/history-restore-anchors-new-window.html b/testing/web-platform/tests/css/css-scroll-anchoring/support/history-restore-anchors-new-window.html new file mode 100644 index 0000000000..bd8290e793 --- /dev/null +++ b/testing/web-platform/tests/css/css-scroll-anchoring/support/history-restore-anchors-new-window.html @@ -0,0 +1,29 @@ + + +
+
+
+ + diff --git a/testing/web-platform/tests/css/css-scroll-anchoring/support/scrolling-vertical-rl.html b/testing/web-platform/tests/css/css-scroll-anchoring/support/scrolling-vertical-rl.html new file mode 100644 index 0000000000..1273469dab --- /dev/null +++ b/testing/web-platform/tests/css/css-scroll-anchoring/support/scrolling-vertical-rl.html @@ -0,0 +1,18 @@ + + + +
+
+
+ diff --git a/testing/web-platform/tests/css/css-scroll-anchoring/table-collapsed-borders-crash.html b/testing/web-platform/tests/css/css-scroll-anchoring/table-collapsed-borders-crash.html new file mode 100644 index 0000000000..aa699317e2 --- /dev/null +++ b/testing/web-platform/tests/css/css-scroll-anchoring/table-collapsed-borders-crash.html @@ -0,0 +1,25 @@ + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/css/css-scroll-anchoring/text-anchor-in-vertical-rl.html b/testing/web-platform/tests/css/css-scroll-anchoring/text-anchor-in-vertical-rl.html new file mode 100644 index 0000000000..0edf950936 --- /dev/null +++ b/testing/web-platform/tests/css/css-scroll-anchoring/text-anchor-in-vertical-rl.html @@ -0,0 +1,30 @@ + + + + +

There should be no red below.

+
+
+
+ + line
+
+ +
+ + + + diff --git a/testing/web-platform/tests/css/css-scroll-anchoring/vertical-rl-viewport-size-change-000.html b/testing/web-platform/tests/css/css-scroll-anchoring/vertical-rl-viewport-size-change-000.html new file mode 100644 index 0000000000..ee367b1c97 --- /dev/null +++ b/testing/web-platform/tests/css/css-scroll-anchoring/vertical-rl-viewport-size-change-000.html @@ -0,0 +1,21 @@ + + + + + + +

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

+ + diff --git a/testing/web-platform/tests/css/css-scroll-anchoring/vertical-rl-viewport-size-change-001.html b/testing/web-platform/tests/css/css-scroll-anchoring/vertical-rl-viewport-size-change-001.html new file mode 100644 index 0000000000..0e58a1e63b --- /dev/null +++ b/testing/web-platform/tests/css/css-scroll-anchoring/vertical-rl-viewport-size-change-001.html @@ -0,0 +1,21 @@ + + + + + + +

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

+ + diff --git a/testing/web-platform/tests/css/css-scroll-anchoring/wrapped-text.html b/testing/web-platform/tests/css/css-scroll-anchoring/wrapped-text.html new file mode 100644 index 0000000000..60f11fbcfe --- /dev/null +++ b/testing/web-platform/tests/css/css-scroll-anchoring/wrapped-text.html @@ -0,0 +1,28 @@ + + + + +abc def ghi + diff --git a/testing/web-platform/tests/css/css-scroll-anchoring/zero-scroll-offset.html b/testing/web-platform/tests/css/css-scroll-anchoring/zero-scroll-offset.html new file mode 100644 index 0000000000..b8f5aa2ccc --- /dev/null +++ b/testing/web-platform/tests/css/css-scroll-anchoring/zero-scroll-offset.html @@ -0,0 +1,53 @@ + + + Test that scroll anchoring is suppressed when scroll offset is zero. + + + + + + + +
abc
+ -- cgit v1.2.3