| Index: content/test/data/accessibility/modal-dialog-closed.html
|
| diff --git a/content/test/data/accessibility/modal-dialog-closed.html b/content/test/data/accessibility/modal-dialog-closed.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..866014ca66aaa7c6ab2106fd9ea868fdc3ac279d
|
| --- /dev/null
|
| +++ b/content/test/data/accessibility/modal-dialog-closed.html
|
| @@ -0,0 +1,23 @@
|
| +<!--
|
| +@MAC-ALLOW:AXSubrole=*
|
| +-->
|
| +<html>
|
| +<body>
|
| +Test that elements respawn in the accessibility tree after a modal dialog
|
| +closes.
|
| +<section>
|
| + <dialog>This dialog is closed and should not be in the tree</dialog>
|
| + <select>
|
| + <optgroup label="Group">
|
| + <option>This should be in the tree.</option>
|
| + </optgroup>
|
| + </select>
|
| +</section>
|
| +<input type=color>
|
| +<script>
|
| +var dialog = document.querySelector('dialog');
|
| +dialog.showModal();
|
| +dialog.close();
|
| +</script>
|
| +</body>
|
| +</html>
|
|
|