summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/html/editing/the-hidden-attribute
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/html/editing/the-hidden-attribute
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/html/editing/the-hidden-attribute')
-rw-r--r--testing/web-platform/meta/html/editing/the-hidden-attribute/beforematch-element-fragment-navigation.html.ini24
-rw-r--r--testing/web-platform/meta/html/editing/the-hidden-attribute/hidden-idl.html.ini9
-rw-r--r--testing/web-platform/meta/html/editing/the-hidden-attribute/hidden-ua-stylesheet.html.ini21
3 files changed, 54 insertions, 0 deletions
diff --git a/testing/web-platform/meta/html/editing/the-hidden-attribute/beforematch-element-fragment-navigation.html.ini b/testing/web-platform/meta/html/editing/the-hidden-attribute/beforematch-element-fragment-navigation.html.ini
new file mode 100644
index 0000000000..2e8cf2714a
--- /dev/null
+++ b/testing/web-platform/meta/html/editing/the-hidden-attribute/beforematch-element-fragment-navigation.html.ini
@@ -0,0 +1,24 @@
+[beforematch-element-fragment-navigation.html]
+ [Verifies that fragment navigation reveals hidden=until-found elements.]
+ expected: FAIL
+
+ [Verifies that fragment navigation reveals all parent hidden=until-found elements.]
+ expected: FAIL
+
+ [Verifies that the beforematch event is fired synchronously and bubbles after fragment navigation.]
+ expected: FAIL
+
+ [Verifies that when a beforematch event handler moves a matching element, we scroll to its final location.]
+ expected: FAIL
+
+ [Verifies that the beforematch event is fired on the right element when there are multiple hidden=until-found elements.]
+ expected: FAIL
+
+ [Verifies that no scrolling occurs when an element selected by the fragment identifier is detached by the beforematch event handler.]
+ expected: FAIL
+
+ [No scrolling should occur when the beforematch event handler sets the target element's style to display: none.]
+ expected: FAIL
+
+ [Scrolling should still occur when beforematch sets visiblity:hidden on the target element.]
+ expected: FAIL
diff --git a/testing/web-platform/meta/html/editing/the-hidden-attribute/hidden-idl.html.ini b/testing/web-platform/meta/html/editing/the-hidden-attribute/hidden-idl.html.ini
new file mode 100644
index 0000000000..3e5a92d47b
--- /dev/null
+++ b/testing/web-platform/meta/html/editing/the-hidden-attribute/hidden-idl.html.ini
@@ -0,0 +1,9 @@
+[hidden-idl.html]
+ [div.hidden = "until-found"]
+ expected: FAIL
+
+ [div.hidden = "UNTIL-FOUND"]
+ expected: FAIL
+
+ [div.hidden = "UnTiL-FoUnD"]
+ expected: FAIL
diff --git a/testing/web-platform/meta/html/editing/the-hidden-attribute/hidden-ua-stylesheet.html.ini b/testing/web-platform/meta/html/editing/the-hidden-attribute/hidden-ua-stylesheet.html.ini
new file mode 100644
index 0000000000..ad614dee1f
--- /dev/null
+++ b/testing/web-platform/meta/html/editing/the-hidden-attribute/hidden-ua-stylesheet.html.ini
@@ -0,0 +1,21 @@
+[hidden-ua-stylesheet.html]
+ [div.removeAttribute('hidden')]
+ expected: FAIL
+
+ [div.setAttribute('hidden', '')]
+ expected: FAIL
+
+ [div.setAttribute('hidden', 'asdf')]
+ expected: FAIL
+
+ [div.setAttribute('hidden', 'until-found')]
+ expected: FAIL
+
+ [div.setAttribute('hidden', 'UNTIL-FOUND')]
+ expected: FAIL
+
+ [div.setAttribute('hidden', 'UnTiL-FoUnD')]
+ expected: FAIL
+
+ [div.setAttribute('hidden', '0')]
+ expected: FAIL