summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/css/css-scroll-snap/input
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:22:09 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:22:09 +0000
commit43a97878ce14b72f0981164f87f2e35e14151312 (patch)
tree620249daf56c0258faa40cbdcf9cfba06de2a846 /testing/web-platform/meta/css/css-scroll-snap/input
parentInitial commit. (diff)
downloadfirefox-43a97878ce14b72f0981164f87f2e35e14151312.tar.xz
firefox-43a97878ce14b72f0981164f87f2e35e14151312.zip
Adding upstream version 110.0.1.upstream/110.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/meta/css/css-scroll-snap/input')
-rw-r--r--testing/web-platform/meta/css/css-scroll-snap/input/keyboard.html.ini40
-rw-r--r--testing/web-platform/meta/css/css-scroll-snap/input/mouse-wheel.html.ini4
-rw-r--r--testing/web-platform/meta/css/css-scroll-snap/input/snap-area-overflow-boundary.html.ini6
3 files changed, 50 insertions, 0 deletions
diff --git a/testing/web-platform/meta/css/css-scroll-snap/input/keyboard.html.ini b/testing/web-platform/meta/css/css-scroll-snap/input/keyboard.html.ini
new file mode 100644
index 0000000000..6c00975ddc
--- /dev/null
+++ b/testing/web-platform/meta/css/css-scroll-snap/input/keyboard.html.ini
@@ -0,0 +1,40 @@
+[keyboard.html]
+ expected:
+ if (os == "linux") and not debug and fission and (processor == "x86_64"): [TIMEOUT, OK, PASS]
+ if (os == "linux") and not debug and fission and (processor == "x86"): [TIMEOUT, OK, PASS]
+ if (os == "linux") and not debug and not fission: [TIMEOUT, OK, PASS]
+ if (os == "win") and debug: [TIMEOUT, OK, PASS]
+ if (os == "mac") and not debug: [TIMEOUT, OK, PASS]
+ [TIMEOUT, PASS]
+ [If there is no valid snap offset on the arrow key's direction other than the current offset, and the scroll-snap-type is proximity, go to the original intended offset]
+ expected:
+ if (os == "android") and not debug: [NOTRUN, TIMEOUT, FAIL]
+ if (os == "linux") and (processor == "x86"): [NOTRUN, TIMEOUT, FAIL]
+ [NOTRUN, FAIL, TIMEOUT]
+
+ [Snaps to top-right after pressing ArrowRight]
+ expected:
+ if (os == "linux") and not debug and fission: [PASS, FAIL]
+ if os == "mac": [PASS, FAIL, NOTRUN]
+
+ [Snaps to bottom-left after pressing ArrowDown]
+ expected:
+ if (os == "linux") and not swgl and fission and not debug and (processor == "x86"): [PASS, FAIL]
+ if (os == "linux") and not swgl and fission and not debug and (processor == "x86_64"): [FAIL, PASS]
+ if (os == "linux") and not swgl and not fission and not debug: [PASS, FAIL]
+ if (os == "linux") and not swgl and not fission and debug: [FAIL, PASS]
+ if (os == "linux") and not swgl and fission and debug: [PASS, FAIL]
+ if (os == "mac") and not debug: [PASS, FAIL]
+ if (os == "android") and not swgl: FAIL
+
+ [If the original intended offset is valid as making a snap area cover the snapport, but there's a defined snap offset in between, use the defined snap offset.]
+ expected: [TIMEOUT, PASS]
+
+ [If there is no valid snap offset on the arrow key's direction other than the current offset, and the scroll-snap-type is mandatory, stay at the current offset.]
+ expected: [NOTRUN, PASS]
+
+ [Snaps to top-left after pressing ArrowUp]
+ expected:
+ if (os == "android") and not fission and debug and not swgl: [FAIL, PASS]
+ if (os == "linux") and not debug: [PASS, FAIL]
+ if (os == "android") and fission: [PASS, FAIL]
diff --git a/testing/web-platform/meta/css/css-scroll-snap/input/mouse-wheel.html.ini b/testing/web-platform/meta/css/css-scroll-snap/input/mouse-wheel.html.ini
new file mode 100644
index 0000000000..cf81f0bb36
--- /dev/null
+++ b/testing/web-platform/meta/css/css-scroll-snap/input/mouse-wheel.html.ini
@@ -0,0 +1,4 @@
+[mouse-wheel.html]
+ expected: TIMEOUT
+ [Wheel-scroll triggers snap to target position immediately.]
+ expected: TIMEOUT
diff --git a/testing/web-platform/meta/css/css-scroll-snap/input/snap-area-overflow-boundary.html.ini b/testing/web-platform/meta/css/css-scroll-snap/input/snap-area-overflow-boundary.html.ini
new file mode 100644
index 0000000000..c29015b2a2
--- /dev/null
+++ b/testing/web-platform/meta/css/css-scroll-snap/input/snap-area-overflow-boundary.html.ini
@@ -0,0 +1,6 @@
+[snap-area-overflow-boundary.html]
+ [Keyboard scrolling with vertical snap-area overflow]
+ expected: FAIL
+
+ [Mouse-wheel scrolling with vertical snap-area overflow]
+ expected: FAIL