summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/meta/html/semantics/interactive-elements/the-dialog-element
diff options
context:
space:
mode:
authorMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
committerMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
commit5f8de423f190bbb79a62f804151bc24824fa32d8 (patch)
tree10027f336435511475e392454359edea8e25895d /testing/web-platform/meta/html/semantics/interactive-elements/the-dialog-element
parent49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff)
downloadUXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip
Add m-esr52 at 52.6.0
Diffstat (limited to 'testing/web-platform/meta/html/semantics/interactive-elements/the-dialog-element')
-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
3 files changed, 51 insertions, 0 deletions
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
+