summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/selection
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-15 03:35:49 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-15 03:35:49 +0000
commitd8bbc7858622b6d9c278469aab701ca0b609cddf (patch)
treeeff41dc61d9f714852212739e6b3738b82a2af87 /testing/web-platform/meta/selection
parentReleasing progress-linux version 125.0.3-1~progress7.99u1. (diff)
downloadfirefox-d8bbc7858622b6d9c278469aab701ca0b609cddf.tar.xz
firefox-d8bbc7858622b6d9c278469aab701ca0b609cddf.zip
Merging upstream version 126.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/meta/selection')
-rw-r--r--testing/web-platform/meta/selection/idlharness.window.js.ini16
-rw-r--r--testing/web-platform/meta/selection/onselectionchange-on-distinct-text-controls.html.ini6
-rw-r--r--testing/web-platform/meta/selection/onselectionchange-on-document.html.ini6
-rw-r--r--testing/web-platform/meta/selection/shadow-dom/__dir__.ini1
-rw-r--r--testing/web-platform/meta/selection/textcontrols/selectionchange.html.ini22
5 files changed, 36 insertions, 15 deletions
diff --git a/testing/web-platform/meta/selection/idlharness.window.js.ini b/testing/web-platform/meta/selection/idlharness.window.js.ini
index 51e6ede16a..3d1908a637 100644
--- a/testing/web-platform/meta/selection/idlharness.window.js.ini
+++ b/testing/web-platform/meta/selection/idlharness.window.js.ini
@@ -1,18 +1,4 @@
+prefs: [dom.shadowdom.selection_across_boundary.enabled:true]
[idlharness.window.html]
[Selection interface: operation modify(optional DOMString, optional DOMString, optional DOMString)]
expected: FAIL
-
- [Selection interface: attribute direction]
- expected: FAIL
-
- [Selection interface: operation getComposedRanges(ShadowRoot...)]
- expected: FAIL
-
- [Selection interface: getSelection() must inherit property "direction" with the proper type]
- expected: FAIL
-
- [Selection interface: getSelection() must inherit property "getComposedRanges(ShadowRoot...)" with the proper type]
- expected: FAIL
-
- [Selection interface: calling getComposedRanges(ShadowRoot...) on getSelection() with too few arguments must throw TypeError]
- expected: FAIL
diff --git a/testing/web-platform/meta/selection/onselectionchange-on-distinct-text-controls.html.ini b/testing/web-platform/meta/selection/onselectionchange-on-distinct-text-controls.html.ini
new file mode 100644
index 0000000000..86e2ce59c0
--- /dev/null
+++ b/testing/web-platform/meta/selection/onselectionchange-on-distinct-text-controls.html.ini
@@ -0,0 +1,6 @@
+[onselectionchange-on-distinct-text-controls.html]
+ [selectionchange event on each input element fires independently]
+ expected: FAIL
+
+ [selectionchange event on each textarea element fires independently]
+ expected: FAIL
diff --git a/testing/web-platform/meta/selection/onselectionchange-on-document.html.ini b/testing/web-platform/meta/selection/onselectionchange-on-document.html.ini
new file mode 100644
index 0000000000..99e45017ab
--- /dev/null
+++ b/testing/web-platform/meta/selection/onselectionchange-on-document.html.ini
@@ -0,0 +1,6 @@
+[onselectionchange-on-document.html]
+ [task to fire selectionchange event gets queued each time selection is mutated]
+ expected: FAIL
+
+ [has scheduled selectionchange event is set to false at the beginning of a task to fire selectionchange event]
+ expected: FAIL
diff --git a/testing/web-platform/meta/selection/shadow-dom/__dir__.ini b/testing/web-platform/meta/selection/shadow-dom/__dir__.ini
new file mode 100644
index 0000000000..5ff56e5f98
--- /dev/null
+++ b/testing/web-platform/meta/selection/shadow-dom/__dir__.ini
@@ -0,0 +1 @@
+prefs: [dom.shadowdom.selection_across_boundary.enabled:true]
diff --git a/testing/web-platform/meta/selection/textcontrols/selectionchange.html.ini b/testing/web-platform/meta/selection/textcontrols/selectionchange.html.ini
index eeef73d0fa..589af97af1 100644
--- a/testing/web-platform/meta/selection/textcontrols/selectionchange.html.ini
+++ b/testing/web-platform/meta/selection/textcontrols/selectionchange.html.ini
@@ -2,3 +2,25 @@
[Calling setRangeText() after select() on the input element]
expected:
if (os == "android") and not debug: [PASS, FAIL]
+ FAIL
+
+ [Calling setRangeText() repeatedly on the input element]
+ expected: FAIL
+
+ [Calling setRangeText() after select() on the disconnected input element]
+ expected: FAIL
+
+ [Calling setRangeText() repeatedly on the disconnected input element]
+ expected: FAIL
+
+ [Calling setRangeText() after select() on the textarea element]
+ expected: FAIL
+
+ [Calling setRangeText() repeatedly on the textarea element]
+ expected: FAIL
+
+ [Calling setRangeText() after select() on the disconnected textarea element]
+ expected: FAIL
+
+ [Calling setRangeText() repeatedly on the disconnected textarea element]
+ expected: FAIL