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 --- .../snap-after-relayout/adding-only-snap-area.html | 55 ++++++++++ .../adding-snap-area-while-snapped.html | 66 +++++++++++ .../changing-scroll-snap-align.html | 121 +++++++++++++++++++++ .../changing-scroll-snap-type-on-root-element.html | 95 ++++++++++++++++ .../changing-scroll-snap-type.html | 96 ++++++++++++++++ .../snap-after-relayout/move-current-target.html | 116 ++++++++++++++++++++ .../not-resnap-outside-proximity-threshold.html | 66 +++++++++++ .../snap-after-relayout/remove-current-target.html | 65 +++++++++++ .../snap-after-relayout/resnap-to-focused.html | 82 ++++++++++++++ .../snap-to-different-targets.html | 92 ++++++++++++++++ 10 files changed, 854 insertions(+) create mode 100644 testing/web-platform/tests/css/css-scroll-snap/snap-after-relayout/adding-only-snap-area.html create mode 100644 testing/web-platform/tests/css/css-scroll-snap/snap-after-relayout/adding-snap-area-while-snapped.html create mode 100644 testing/web-platform/tests/css/css-scroll-snap/snap-after-relayout/changing-scroll-snap-align.html create mode 100644 testing/web-platform/tests/css/css-scroll-snap/snap-after-relayout/changing-scroll-snap-type-on-root-element.html create mode 100644 testing/web-platform/tests/css/css-scroll-snap/snap-after-relayout/changing-scroll-snap-type.html create mode 100644 testing/web-platform/tests/css/css-scroll-snap/snap-after-relayout/move-current-target.html create mode 100644 testing/web-platform/tests/css/css-scroll-snap/snap-after-relayout/not-resnap-outside-proximity-threshold.html create mode 100644 testing/web-platform/tests/css/css-scroll-snap/snap-after-relayout/remove-current-target.html create mode 100644 testing/web-platform/tests/css/css-scroll-snap/snap-after-relayout/resnap-to-focused.html create mode 100644 testing/web-platform/tests/css/css-scroll-snap/snap-after-relayout/snap-to-different-targets.html (limited to 'testing/web-platform/tests/css/css-scroll-snap/snap-after-relayout') diff --git a/testing/web-platform/tests/css/css-scroll-snap/snap-after-relayout/adding-only-snap-area.html b/testing/web-platform/tests/css/css-scroll-snap/snap-after-relayout/adding-only-snap-area.html new file mode 100644 index 0000000000..53141707bb --- /dev/null +++ b/testing/web-platform/tests/css/css-scroll-snap/snap-after-relayout/adding-only-snap-area.html @@ -0,0 +1,55 @@ + + + Adding a new snap area when there are none should make the scroller snap to it. + + + + + + +
+
+
+
+ + diff --git a/testing/web-platform/tests/css/css-scroll-snap/snap-after-relayout/adding-snap-area-while-snapped.html b/testing/web-platform/tests/css/css-scroll-snap/snap-after-relayout/adding-snap-area-while-snapped.html new file mode 100644 index 0000000000..d26359658f --- /dev/null +++ b/testing/web-platform/tests/css/css-scroll-snap/snap-after-relayout/adding-snap-area-while-snapped.html @@ -0,0 +1,66 @@ + + + Adding a new snap area while already snapped should not make the scroller snap to it. + + + + + + +
+
+
+
+
+ + diff --git a/testing/web-platform/tests/css/css-scroll-snap/snap-after-relayout/changing-scroll-snap-align.html b/testing/web-platform/tests/css/css-scroll-snap/snap-after-relayout/changing-scroll-snap-align.html new file mode 100644 index 0000000000..3be68fe841 --- /dev/null +++ b/testing/web-platform/tests/css/css-scroll-snap/snap-after-relayout/changing-scroll-snap-align.html @@ -0,0 +1,121 @@ + + + Updating the snap alignment of a snap container's content should make the snap + container resnap accordingly. + + + + + + +
+
+
+
+
+ + diff --git a/testing/web-platform/tests/css/css-scroll-snap/snap-after-relayout/changing-scroll-snap-type-on-root-element.html b/testing/web-platform/tests/css/css-scroll-snap/snap-after-relayout/changing-scroll-snap-type-on-root-element.html new file mode 100644 index 0000000000..c86f39b9d6 --- /dev/null +++ b/testing/web-platform/tests/css/css-scroll-snap/snap-after-relayout/changing-scroll-snap-type-on-root-element.html @@ -0,0 +1,95 @@ + + + + Updating the scroll-snap-type of the root element should make it resnap accordingly. + This is another vairant of changing-scroll-snap-type.html for the root element. + + + + + + +
+
+
+ + + diff --git a/testing/web-platform/tests/css/css-scroll-snap/snap-after-relayout/changing-scroll-snap-type.html b/testing/web-platform/tests/css/css-scroll-snap/snap-after-relayout/changing-scroll-snap-type.html new file mode 100644 index 0000000000..70774b3d40 --- /dev/null +++ b/testing/web-platform/tests/css/css-scroll-snap/snap-after-relayout/changing-scroll-snap-type.html @@ -0,0 +1,96 @@ + + + Updating the scroll-snap-type of a snap container should make it resnap accordingly. + + + + + + +
+
+
+
+
+ + diff --git a/testing/web-platform/tests/css/css-scroll-snap/snap-after-relayout/move-current-target.html b/testing/web-platform/tests/css/css-scroll-snap/snap-after-relayout/move-current-target.html new file mode 100644 index 0000000000..ccadc884c5 --- /dev/null +++ b/testing/web-platform/tests/css/css-scroll-snap/snap-after-relayout/move-current-target.html @@ -0,0 +1,116 @@ + + + Moving the current snap target should make the scroller resnap to it. + + + + + + +
+
+
+
+
+
+ + diff --git a/testing/web-platform/tests/css/css-scroll-snap/snap-after-relayout/not-resnap-outside-proximity-threshold.html b/testing/web-platform/tests/css/css-scroll-snap/snap-after-relayout/not-resnap-outside-proximity-threshold.html new file mode 100644 index 0000000000..b2c5720efb --- /dev/null +++ b/testing/web-platform/tests/css/css-scroll-snap/snap-after-relayout/not-resnap-outside-proximity-threshold.html @@ -0,0 +1,66 @@ + + + Not re-snap once after a scroll operation has finished without snapping + because the scroll destination was outside of the snap proximity threshold. + + + + + + + + +
+
+
+
+
+ + diff --git a/testing/web-platform/tests/css/css-scroll-snap/snap-after-relayout/remove-current-target.html b/testing/web-platform/tests/css/css-scroll-snap/snap-after-relayout/remove-current-target.html new file mode 100644 index 0000000000..82bddf8074 --- /dev/null +++ b/testing/web-platform/tests/css/css-scroll-snap/snap-after-relayout/remove-current-target.html @@ -0,0 +1,65 @@ + + + Removing the current snap target should make the scroller snap to a new target. + + + + + + +
+
+
+
+
+ + diff --git a/testing/web-platform/tests/css/css-scroll-snap/snap-after-relayout/resnap-to-focused.html b/testing/web-platform/tests/css/css-scroll-snap/snap-after-relayout/resnap-to-focused.html new file mode 100644 index 0000000000..637c578a85 --- /dev/null +++ b/testing/web-platform/tests/css/css-scroll-snap/snap-after-relayout/resnap-to-focused.html @@ -0,0 +1,82 @@ + +Resnap to focused element after relayout + + + + + + + +
+
+
+
+
+
+
+
+ + diff --git a/testing/web-platform/tests/css/css-scroll-snap/snap-after-relayout/snap-to-different-targets.html b/testing/web-platform/tests/css/css-scroll-snap/snap-after-relayout/snap-to-different-targets.html new file mode 100644 index 0000000000..7ad659d8a6 --- /dev/null +++ b/testing/web-platform/tests/css/css-scroll-snap/snap-after-relayout/snap-to-different-targets.html @@ -0,0 +1,92 @@ + + + The scroller should try to resnap to targets for both axes if possible. + + + + + + +
+
+
+
+
+
+
+ + -- cgit v1.2.3