summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/css/css-scroll-snap-2/parsing
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
commit26a029d407be480d791972afb5975cf62c9360a6 (patch)
treef435a8308119effd964b339f76abb83a57c29483 /testing/web-platform/meta/css/css-scroll-snap-2/parsing
parentInitial commit. (diff)
downloadfirefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz
firefox-26a029d407be480d791972afb5975cf62c9360a6.zip
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/meta/css/css-scroll-snap-2/parsing')
-rw-r--r--testing/web-platform/meta/css/css-scroll-snap-2/parsing/scroll-start-computed.html.ini207
-rw-r--r--testing/web-platform/meta/css/css-scroll-snap-2/parsing/scroll-start-shorthand.html.ini108
-rw-r--r--testing/web-platform/meta/css/css-scroll-snap-2/parsing/scroll-start-target-computed.html.ini48
-rw-r--r--testing/web-platform/meta/css/css-scroll-snap-2/parsing/scroll-start-target-shorthand.html.ini36
-rw-r--r--testing/web-platform/meta/css/css-scroll-snap-2/parsing/scroll-start-target-valid.html.ini36
-rw-r--r--testing/web-platform/meta/css/css-scroll-snap-2/parsing/scroll-start-valid.html.ini177
6 files changed, 612 insertions, 0 deletions
diff --git a/testing/web-platform/meta/css/css-scroll-snap-2/parsing/scroll-start-computed.html.ini b/testing/web-platform/meta/css/css-scroll-snap-2/parsing/scroll-start-computed.html.ini
new file mode 100644
index 0000000000..6644ad484a
--- /dev/null
+++ b/testing/web-platform/meta/css/css-scroll-snap-2/parsing/scroll-start-computed.html.ini
@@ -0,0 +1,207 @@
+[scroll-start-computed.html]
+ [Property scroll-start value 'start']
+ expected: FAIL
+
+ [Property scroll-start value 'start start']
+ expected: FAIL
+
+ [Property scroll-start value '100px']
+ expected: FAIL
+
+ [Property scroll-start value '50%']
+ expected: FAIL
+
+ [Property scroll-start value 'center']
+ expected: FAIL
+
+ [Property scroll-start value '100px 200px']
+ expected: FAIL
+
+ [Property scroll-start value '50% 100px']
+ expected: FAIL
+
+ [Property scroll-start value 'start 50%']
+ expected: FAIL
+
+ [Property scroll-start value 'center start']
+ expected: FAIL
+
+ [Property scroll-start value 'end center']
+ expected: FAIL
+
+ [Property scroll-start value 'top end']
+ expected: FAIL
+
+ [Property scroll-start value 'bottom top']
+ expected: FAIL
+
+ [Property scroll-start value 'left bottom']
+ expected: FAIL
+
+ [Property scroll-start value 'right left']
+ expected: FAIL
+
+ [Property scroll-start value 'auto right']
+ expected: FAIL
+
+ [Property scroll-start value 'calc(1px)']
+ expected: FAIL
+
+ [Property scroll-start value 'calc(1px) start']
+ expected: FAIL
+
+ [Property scroll-start-block value '100px']
+ expected: FAIL
+
+ [Property scroll-start-block value '50%']
+ expected: FAIL
+
+ [Property scroll-start-block value 'start']
+ expected: FAIL
+
+ [Property scroll-start-block value 'center']
+ expected: FAIL
+
+ [Property scroll-start-block value 'end']
+ expected: FAIL
+
+ [Property scroll-start-block value 'top']
+ expected: FAIL
+
+ [Property scroll-start-block value 'bottom']
+ expected: FAIL
+
+ [Property scroll-start-block value 'left']
+ expected: FAIL
+
+ [Property scroll-start-block value 'right']
+ expected: FAIL
+
+ [Property scroll-start-block value 'auto']
+ expected: FAIL
+
+ [Property scroll-start-block value 'calc(-1px)']
+ expected: FAIL
+
+ [Property scroll-start-inline value '100px']
+ expected: FAIL
+
+ [Property scroll-start-inline value '50%']
+ expected: FAIL
+
+ [Property scroll-start-inline value 'start']
+ expected: FAIL
+
+ [Property scroll-start-inline value 'center']
+ expected: FAIL
+
+ [Property scroll-start-inline value 'end']
+ expected: FAIL
+
+ [Property scroll-start-inline value 'top']
+ expected: FAIL
+
+ [Property scroll-start-inline value 'bottom']
+ expected: FAIL
+
+ [Property scroll-start-inline value 'left']
+ expected: FAIL
+
+ [Property scroll-start-inline value 'right']
+ expected: FAIL
+
+ [Property scroll-start-inline value 'auto']
+ expected: FAIL
+
+ [Property scroll-start-inline value 'calc(-1px)']
+ expected: FAIL
+
+ [Property scroll-start-x value '100px']
+ expected: FAIL
+
+ [Property scroll-start-x value '50%']
+ expected: FAIL
+
+ [Property scroll-start-x value 'start']
+ expected: FAIL
+
+ [Property scroll-start-x value 'center']
+ expected: FAIL
+
+ [Property scroll-start-x value 'end']
+ expected: FAIL
+
+ [Property scroll-start-x value 'top']
+ expected: FAIL
+
+ [Property scroll-start-x value 'bottom']
+ expected: FAIL
+
+ [Property scroll-start-x value 'left']
+ expected: FAIL
+
+ [Property scroll-start-x value 'right']
+ expected: FAIL
+
+ [Property scroll-start-x value 'auto']
+ expected: FAIL
+
+ [Property scroll-start-x value 'calc(-1px)']
+ expected: FAIL
+
+ [Property scroll-start-y value '100px']
+ expected: FAIL
+
+ [Property scroll-start-y value '50%']
+ expected: FAIL
+
+ [Property scroll-start-y value 'start']
+ expected: FAIL
+
+ [Property scroll-start-y value 'center']
+ expected: FAIL
+
+ [Property scroll-start-y value 'end']
+ expected: FAIL
+
+ [Property scroll-start-y value 'top']
+ expected: FAIL
+
+ [Property scroll-start-y value 'bottom']
+ expected: FAIL
+
+ [Property scroll-start-y value 'left']
+ expected: FAIL
+
+ [Property scroll-start-y value 'right']
+ expected: FAIL
+
+ [Property scroll-start-y value 'auto']
+ expected: FAIL
+
+ [Property scroll-start-y value 'calc(-1px)']
+ expected: FAIL
+
+ [scroll-start-block maps to scroll-start-y in horizontal writing mode.]
+ expected: FAIL
+
+ [scroll-start-inline maps to scroll-start-x in horizontal writing mode.]
+ expected: FAIL
+
+ [scroll-start-x maps to scroll-start-inline in horizontal writing mode.]
+ expected: FAIL
+
+ [scroll-start-y maps to scroll-start-block in horizontal writing mode.]
+ expected: FAIL
+
+ [scroll-start-block maps to scroll-start-x in vertical writing mode.]
+ expected: FAIL
+
+ [scroll-start-inline maps to scroll-start-y in vertical writing mode.]
+ expected: FAIL
+
+ [scroll-start-x maps to scroll-start-block in vertical writing mode.]
+ expected: FAIL
+
+ [scroll-start-y maps to scroll-start-inline in vertical writing mode.]
+ expected: FAIL
diff --git a/testing/web-platform/meta/css/css-scroll-snap-2/parsing/scroll-start-shorthand.html.ini b/testing/web-platform/meta/css/css-scroll-snap-2/parsing/scroll-start-shorthand.html.ini
new file mode 100644
index 0000000000..570ffb1a7f
--- /dev/null
+++ b/testing/web-platform/meta/css/css-scroll-snap-2/parsing/scroll-start-shorthand.html.ini
@@ -0,0 +1,108 @@
+[scroll-start-shorthand.html]
+ [e.style['scroll-start'\] = "100px" should set scroll-start-block]
+ expected: FAIL
+
+ [e.style['scroll-start'\] = "100px" should set scroll-start-inline]
+ expected: FAIL
+
+ [e.style['scroll-start'\] = "100px" should not set unrelated longhands]
+ expected: FAIL
+
+ [e.style['scroll-start'\] = "50%" should set scroll-start-block]
+ expected: FAIL
+
+ [e.style['scroll-start'\] = "50%" should set scroll-start-inline]
+ expected: FAIL
+
+ [e.style['scroll-start'\] = "50%" should not set unrelated longhands]
+ expected: FAIL
+
+ [e.style['scroll-start'\] = "center" should set scroll-start-block]
+ expected: FAIL
+
+ [e.style['scroll-start'\] = "center" should set scroll-start-inline]
+ expected: FAIL
+
+ [e.style['scroll-start'\] = "center" should not set unrelated longhands]
+ expected: FAIL
+
+ [e.style['scroll-start'\] = "100px 200px" should set scroll-start-block]
+ expected: FAIL
+
+ [e.style['scroll-start'\] = "100px 200px" should set scroll-start-inline]
+ expected: FAIL
+
+ [e.style['scroll-start'\] = "100px 200px" should not set unrelated longhands]
+ expected: FAIL
+
+ [e.style['scroll-start'\] = "100px 50%" should set scroll-start-block]
+ expected: FAIL
+
+ [e.style['scroll-start'\] = "100px 50%" should set scroll-start-inline]
+ expected: FAIL
+
+ [e.style['scroll-start'\] = "100px 50%" should not set unrelated longhands]
+ expected: FAIL
+
+ [e.style['scroll-start'\] = "100px center" should set scroll-start-block]
+ expected: FAIL
+
+ [e.style['scroll-start'\] = "100px center" should set scroll-start-inline]
+ expected: FAIL
+
+ [e.style['scroll-start'\] = "100px center" should not set unrelated longhands]
+ expected: FAIL
+
+ [e.style['scroll-start'\] = "50% 200px" should set scroll-start-block]
+ expected: FAIL
+
+ [e.style['scroll-start'\] = "50% 200px" should set scroll-start-inline]
+ expected: FAIL
+
+ [e.style['scroll-start'\] = "50% 200px" should not set unrelated longhands]
+ expected: FAIL
+
+ [e.style['scroll-start'\] = "50% 25%" should set scroll-start-block]
+ expected: FAIL
+
+ [e.style['scroll-start'\] = "50% 25%" should set scroll-start-inline]
+ expected: FAIL
+
+ [e.style['scroll-start'\] = "50% 25%" should not set unrelated longhands]
+ expected: FAIL
+
+ [e.style['scroll-start'\] = "50% center" should set scroll-start-block]
+ expected: FAIL
+
+ [e.style['scroll-start'\] = "50% center" should set scroll-start-inline]
+ expected: FAIL
+
+ [e.style['scroll-start'\] = "50% center" should not set unrelated longhands]
+ expected: FAIL
+
+ [e.style['scroll-start'\] = "center 200px" should set scroll-start-block]
+ expected: FAIL
+
+ [e.style['scroll-start'\] = "center 200px" should set scroll-start-inline]
+ expected: FAIL
+
+ [e.style['scroll-start'\] = "center 200px" should not set unrelated longhands]
+ expected: FAIL
+
+ [e.style['scroll-start'\] = "center 25%" should set scroll-start-block]
+ expected: FAIL
+
+ [e.style['scroll-start'\] = "center 25%" should set scroll-start-inline]
+ expected: FAIL
+
+ [e.style['scroll-start'\] = "center 25%" should not set unrelated longhands]
+ expected: FAIL
+
+ [e.style['scroll-start'\] = "center end" should set scroll-start-block]
+ expected: FAIL
+
+ [e.style['scroll-start'\] = "center end" should set scroll-start-inline]
+ expected: FAIL
+
+ [e.style['scroll-start'\] = "center end" should not set unrelated longhands]
+ expected: FAIL
diff --git a/testing/web-platform/meta/css/css-scroll-snap-2/parsing/scroll-start-target-computed.html.ini b/testing/web-platform/meta/css/css-scroll-snap-2/parsing/scroll-start-target-computed.html.ini
new file mode 100644
index 0000000000..ea04291bb9
--- /dev/null
+++ b/testing/web-platform/meta/css/css-scroll-snap-2/parsing/scroll-start-target-computed.html.ini
@@ -0,0 +1,48 @@
+[scroll-start-target-computed.html]
+ [Property scroll-start-target-block value 'auto']
+ expected: FAIL
+
+ [Property scroll-start-target-block value 'none']
+ expected: FAIL
+
+ [Property scroll-start-target-inline value 'auto']
+ expected: FAIL
+
+ [Property scroll-start-target-inline value 'none']
+ expected: FAIL
+
+ [Property scroll-start-target-x value 'auto']
+ expected: FAIL
+
+ [Property scroll-start-target-x value 'none']
+ expected: FAIL
+
+ [Property scroll-start-target-y value 'auto']
+ expected: FAIL
+
+ [Property scroll-start-target-y value 'none']
+ expected: FAIL
+
+ [scroll-start-block maps to scroll-start-y in horizontal writing mode.]
+ expected: FAIL
+
+ [scroll-start-inline maps to scroll-start-x in horizontal writing mode.]
+ expected: FAIL
+
+ [scroll-start-x maps to scroll-start-inline in horizontal writing mode.]
+ expected: FAIL
+
+ [scroll-start-y maps to scroll-start-block in horizontal writing mode.]
+ expected: FAIL
+
+ [scroll-start-block maps to scroll-start-x in vertical writing mode.]
+ expected: FAIL
+
+ [scroll-start-inline maps to scroll-start-y in vertical writing mode.]
+ expected: FAIL
+
+ [scroll-start-x maps to scroll-start-block in vertical writing mode.]
+ expected: FAIL
+
+ [scroll-start-y maps to scroll-start-inline in vertical writing mode.]
+ expected: FAIL
diff --git a/testing/web-platform/meta/css/css-scroll-snap-2/parsing/scroll-start-target-shorthand.html.ini b/testing/web-platform/meta/css/css-scroll-snap-2/parsing/scroll-start-target-shorthand.html.ini
new file mode 100644
index 0000000000..c227173549
--- /dev/null
+++ b/testing/web-platform/meta/css/css-scroll-snap-2/parsing/scroll-start-target-shorthand.html.ini
@@ -0,0 +1,36 @@
+[scroll-start-target-shorthand.html]
+ [e.style['scroll-start-target'\] = "none" should set scroll-start-target-block]
+ expected: FAIL
+
+ [e.style['scroll-start-target'\] = "none" should set scroll-start-target-inline]
+ expected: FAIL
+
+ [e.style['scroll-start-target'\] = "none" should not set unrelated longhands]
+ expected: FAIL
+
+ [e.style['scroll-start-target'\] = "auto" should set scroll-start-target-block]
+ expected: FAIL
+
+ [e.style['scroll-start-target'\] = "auto" should set scroll-start-target-inline]
+ expected: FAIL
+
+ [e.style['scroll-start-target'\] = "auto" should not set unrelated longhands]
+ expected: FAIL
+
+ [e.style['scroll-start-target'\] = "none auto" should set scroll-start-target-block]
+ expected: FAIL
+
+ [e.style['scroll-start-target'\] = "none auto" should set scroll-start-target-inline]
+ expected: FAIL
+
+ [e.style['scroll-start-target'\] = "none auto" should not set unrelated longhands]
+ expected: FAIL
+
+ [e.style['scroll-start-target'\] = "auto none" should set scroll-start-target-block]
+ expected: FAIL
+
+ [e.style['scroll-start-target'\] = "auto none" should set scroll-start-target-inline]
+ expected: FAIL
+
+ [e.style['scroll-start-target'\] = "auto none" should not set unrelated longhands]
+ expected: FAIL
diff --git a/testing/web-platform/meta/css/css-scroll-snap-2/parsing/scroll-start-target-valid.html.ini b/testing/web-platform/meta/css/css-scroll-snap-2/parsing/scroll-start-target-valid.html.ini
new file mode 100644
index 0000000000..a86da3ddef
--- /dev/null
+++ b/testing/web-platform/meta/css/css-scroll-snap-2/parsing/scroll-start-target-valid.html.ini
@@ -0,0 +1,36 @@
+[scroll-start-target-valid.html]
+ [e.style['scroll-start-target'\] = "none" should set the property value]
+ expected: FAIL
+
+ [e.style['scroll-start-target'\] = "auto" should set the property value]
+ expected: FAIL
+
+ [e.style['scroll-start-target'\] = "none auto" should set the property value]
+ expected: FAIL
+
+ [e.style['scroll-start-target'\] = "auto none" should set the property value]
+ expected: FAIL
+
+ [e.style['scroll-start-target-block'\] = "none" should set the property value]
+ expected: FAIL
+
+ [e.style['scroll-start-target-block'\] = "auto" should set the property value]
+ expected: FAIL
+
+ [e.style['scroll-start-target-inline'\] = "none" should set the property value]
+ expected: FAIL
+
+ [e.style['scroll-start-target-inline'\] = "auto" should set the property value]
+ expected: FAIL
+
+ [e.style['scroll-start-target-x'\] = "none" should set the property value]
+ expected: FAIL
+
+ [e.style['scroll-start-target-x'\] = "auto" should set the property value]
+ expected: FAIL
+
+ [e.style['scroll-start-target-y'\] = "none" should set the property value]
+ expected: FAIL
+
+ [e.style['scroll-start-target-y'\] = "auto" should set the property value]
+ expected: FAIL
diff --git a/testing/web-platform/meta/css/css-scroll-snap-2/parsing/scroll-start-valid.html.ini b/testing/web-platform/meta/css/css-scroll-snap-2/parsing/scroll-start-valid.html.ini
new file mode 100644
index 0000000000..349b8c4c71
--- /dev/null
+++ b/testing/web-platform/meta/css/css-scroll-snap-2/parsing/scroll-start-valid.html.ini
@@ -0,0 +1,177 @@
+[scroll-start-valid.html]
+ [e.style['scroll-start'\] = "start" should set the property value]
+ expected: FAIL
+
+ [e.style['scroll-start'\] = "start start" should set the property value]
+ expected: FAIL
+
+ [e.style['scroll-start'\] = "50%" should set the property value]
+ expected: FAIL
+
+ [e.style['scroll-start'\] = "center" should set the property value]
+ expected: FAIL
+
+ [e.style['scroll-start'\] = "100px 200px" should set the property value]
+ expected: FAIL
+
+ [e.style['scroll-start'\] = "50% 100px" should set the property value]
+ expected: FAIL
+
+ [e.style['scroll-start'\] = "start 50%" should set the property value]
+ expected: FAIL
+
+ [e.style['scroll-start'\] = "center start" should set the property value]
+ expected: FAIL
+
+ [e.style['scroll-start'\] = "end center" should set the property value]
+ expected: FAIL
+
+ [e.style['scroll-start'\] = "top end" should set the property value]
+ expected: FAIL
+
+ [e.style['scroll-start'\] = "bottom top" should set the property value]
+ expected: FAIL
+
+ [e.style['scroll-start'\] = "left bottom" should set the property value]
+ expected: FAIL
+
+ [e.style['scroll-start'\] = "right left" should set the property value]
+ expected: FAIL
+
+ [e.style['scroll-start'\] = "auto right" should set the property value]
+ expected: FAIL
+
+ [e.style['scroll-start'\] = "calc(1px) auto" should set the property value]
+ expected: FAIL
+
+ [e.style['scroll-start-block'\] = "100px" should set the property value]
+ expected: FAIL
+
+ [e.style['scroll-start-block'\] = "50%" should set the property value]
+ expected: FAIL
+
+ [e.style['scroll-start-block'\] = "start" should set the property value]
+ expected: FAIL
+
+ [e.style['scroll-start-block'\] = "center" should set the property value]
+ expected: FAIL
+
+ [e.style['scroll-start-block'\] = "end" should set the property value]
+ expected: FAIL
+
+ [e.style['scroll-start-block'\] = "top" should set the property value]
+ expected: FAIL
+
+ [e.style['scroll-start-block'\] = "bottom" should set the property value]
+ expected: FAIL
+
+ [e.style['scroll-start-block'\] = "left" should set the property value]
+ expected: FAIL
+
+ [e.style['scroll-start-block'\] = "right" should set the property value]
+ expected: FAIL
+
+ [e.style['scroll-start-block'\] = "auto" should set the property value]
+ expected: FAIL
+
+ [e.style['scroll-start-block'\] = "calc(-1px)" should set the property value]
+ expected: FAIL
+
+ [e.style['scroll-start-inline'\] = "100px" should set the property value]
+ expected: FAIL
+
+ [e.style['scroll-start-inline'\] = "50%" should set the property value]
+ expected: FAIL
+
+ [e.style['scroll-start-inline'\] = "start" should set the property value]
+ expected: FAIL
+
+ [e.style['scroll-start-inline'\] = "center" should set the property value]
+ expected: FAIL
+
+ [e.style['scroll-start-inline'\] = "end" should set the property value]
+ expected: FAIL
+
+ [e.style['scroll-start-inline'\] = "top" should set the property value]
+ expected: FAIL
+
+ [e.style['scroll-start-inline'\] = "bottom" should set the property value]
+ expected: FAIL
+
+ [e.style['scroll-start-inline'\] = "left" should set the property value]
+ expected: FAIL
+
+ [e.style['scroll-start-inline'\] = "right" should set the property value]
+ expected: FAIL
+
+ [e.style['scroll-start-inline'\] = "auto" should set the property value]
+ expected: FAIL
+
+ [e.style['scroll-start-inline'\] = "calc(-1px)" should set the property value]
+ expected: FAIL
+
+ [e.style['scroll-start-x'\] = "100px" should set the property value]
+ expected: FAIL
+
+ [e.style['scroll-start-x'\] = "50%" should set the property value]
+ expected: FAIL
+
+ [e.style['scroll-start-x'\] = "start" should set the property value]
+ expected: FAIL
+
+ [e.style['scroll-start-x'\] = "center" should set the property value]
+ expected: FAIL
+
+ [e.style['scroll-start-x'\] = "end" should set the property value]
+ expected: FAIL
+
+ [e.style['scroll-start-x'\] = "top" should set the property value]
+ expected: FAIL
+
+ [e.style['scroll-start-x'\] = "bottom" should set the property value]
+ expected: FAIL
+
+ [e.style['scroll-start-x'\] = "left" should set the property value]
+ expected: FAIL
+
+ [e.style['scroll-start-x'\] = "right" should set the property value]
+ expected: FAIL
+
+ [e.style['scroll-start-x'\] = "auto" should set the property value]
+ expected: FAIL
+
+ [e.style['scroll-start-x'\] = "calc(-1px)" should set the property value]
+ expected: FAIL
+
+ [e.style['scroll-start-y'\] = "100px" should set the property value]
+ expected: FAIL
+
+ [e.style['scroll-start-y'\] = "50%" should set the property value]
+ expected: FAIL
+
+ [e.style['scroll-start-y'\] = "start" should set the property value]
+ expected: FAIL
+
+ [e.style['scroll-start-y'\] = "center" should set the property value]
+ expected: FAIL
+
+ [e.style['scroll-start-y'\] = "end" should set the property value]
+ expected: FAIL
+
+ [e.style['scroll-start-y'\] = "top" should set the property value]
+ expected: FAIL
+
+ [e.style['scroll-start-y'\] = "bottom" should set the property value]
+ expected: FAIL
+
+ [e.style['scroll-start-y'\] = "left" should set the property value]
+ expected: FAIL
+
+ [e.style['scroll-start-y'\] = "right" should set the property value]
+ expected: FAIL
+
+ [e.style['scroll-start-y'\] = "auto" should set the property value]
+ expected: FAIL
+
+ [e.style['scroll-start-y'\] = "calc(-1px)" should set the property value]
+ expected: FAIL