summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/html/semantics/interactive-elements
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/meta/html/semantics/interactive-elements')
-rw-r--r--testing/web-platform/meta/html/semantics/interactive-elements/the-details-element/details.html.ini3
-rw-r--r--testing/web-platform/meta/html/semantics/interactive-elements/the-details-element/toggleEvent.html.ini3
-rw-r--r--testing/web-platform/meta/html/semantics/interactive-elements/the-dialog-element/dialog-close.html.ini20
-rw-r--r--testing/web-platform/meta/html/semantics/interactive-elements/the-dialog-element/dialog-open.html.ini8
-rw-r--r--testing/web-platform/meta/html/semantics/interactive-elements/the-dialog-element/dialog-showModal.html.ini23
5 files changed, 57 insertions, 0 deletions
diff --git a/testing/web-platform/meta/html/semantics/interactive-elements/the-details-element/details.html.ini b/testing/web-platform/meta/html/semantics/interactive-elements/the-details-element/details.html.ini
new file mode 100644
index 000000000..6ffca742c
--- /dev/null
+++ b/testing/web-platform/meta/html/semantics/interactive-elements/the-details-element/details.html.ini
@@ -0,0 +1,3 @@
+[details.html]
+ type: testharness
+ prefs: [dom.details_element.enabled:true]
diff --git a/testing/web-platform/meta/html/semantics/interactive-elements/the-details-element/toggleEvent.html.ini b/testing/web-platform/meta/html/semantics/interactive-elements/the-details-element/toggleEvent.html.ini
new file mode 100644
index 000000000..335ffd5b3
--- /dev/null
+++ b/testing/web-platform/meta/html/semantics/interactive-elements/the-details-element/toggleEvent.html.ini
@@ -0,0 +1,3 @@
+[toggleEvent.html]
+ type: testharness
+ prefs: [dom.details_element.enabled:true]
diff --git a/testing/web-platform/meta/html/semantics/interactive-elements/the-dialog-element/dialog-close.html.ini b/testing/web-platform/meta/html/semantics/interactive-elements/the-dialog-element/dialog-close.html.ini
new file mode 100644
index 000000000..8caa04e94
--- /dev/null
+++ b/testing/web-platform/meta/html/semantics/interactive-elements/the-dialog-element/dialog-close.html.ini
@@ -0,0 +1,20 @@
+[dialog-close.html]
+ type: testharness
+ [close() fires a close event]
+ expected: FAIL
+
+ [close() on a <dialog> that doesn't have an open attribute throws an InvalidStateError exception]
+ expected: FAIL
+
+ [close() removes the open attribute and set the returnValue to the first argument]
+ expected: FAIL
+
+ [close() without argument removes the open attribute and there's no returnValue]
+ expected: FAIL
+
+ [close() should set the returnValue IDL attribute but not the JS property]
+ expected: FAIL
+
+ [close() on a <dialog> that doesn't have an open attribute aborts the steps]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/html/semantics/interactive-elements/the-dialog-element/dialog-open.html.ini b/testing/web-platform/meta/html/semantics/interactive-elements/the-dialog-element/dialog-open.html.ini
new file mode 100644
index 000000000..6cabc6cfd
--- /dev/null
+++ b/testing/web-platform/meta/html/semantics/interactive-elements/the-dialog-element/dialog-open.html.ini
@@ -0,0 +1,8 @@
+[dialog-open.html]
+ type: testharness
+ [On getting, the IDL open attribute must return true if the content open attribute is set, and false if it is absent.]
+ expected: FAIL
+
+ [On setting, the content open attribute must be removed if the IDL open attribute is set to false, and must be present if the IDL open attribute is set to true.]
+ expected: FAIL
+
diff --git a/testing/web-platform/meta/html/semantics/interactive-elements/the-dialog-element/dialog-showModal.html.ini b/testing/web-platform/meta/html/semantics/interactive-elements/the-dialog-element/dialog-showModal.html.ini
new file mode 100644
index 000000000..bf6546036
--- /dev/null
+++ b/testing/web-platform/meta/html/semantics/interactive-elements/the-dialog-element/dialog-showModal.html.ini
@@ -0,0 +1,23 @@
+[dialog-showModal.html]
+ type: testharness
+ [dialog element: showModal()]
+ expected: FAIL
+
+ [showModal() on a <dialog> that already has an open attribute throws an InvalidStateError exception]
+ expected: FAIL
+
+ [showModal() on a <dialog> not in a Document throws an InvalidStateError exception]
+ expected: FAIL
+
+ [when opening multiple dialogs, only the newest one is non-inert]
+ expected: FAIL
+
+ [opening dialog without focusable children]
+ expected: FAIL
+
+ [opening dialog with multiple focusable children]
+ expected: FAIL
+
+ [opening dialog with multiple focusable children, one having the autofocus attribute]
+ expected: FAIL
+