Index: content/test/data/accessibility/modal-dialog-opened.html |
diff --git a/content/test/data/accessibility/modal-dialog-opened.html b/content/test/data/accessibility/modal-dialog-opened.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..47da0581b17a8e894ee73438924ed45608bd9b12 |
--- /dev/null |
+++ b/content/test/data/accessibility/modal-dialog-opened.html |
@@ -0,0 +1,27 @@ |
+<!-- |
+@MAC-ALLOW:AXSubrole=* |
+--> |
+<html> |
+<body> |
+Test for modal dialog blocking a document. |
+<section> |
+ <dialog id="top-dialog"> |
+ The dialog subtree should be the only text content in the accessibility tree. |
+ <a name="anchor" href="#link">Link inside the dialog.</a> |
+ </dialog> |
+ <select> |
+ <optgroup label="Group"> |
+ <option>This should be pruned out of the tree.</option> |
+ </optgroup> |
+ </select> |
+</section> |
+<input type=file> |
+<dialog id="bottom-dialog"> |
+ This is the pending dialog and should be pruned out. |
+</dialog> |
+<script> |
+document.querySelector('#bottom-dialog').showModal(); |
+document.querySelector('#top-dialog').showModal(); |
+</script> |
+</body> |
+</html> |