summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/selection
diff options
context:
space:
mode:
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