GPU workaround to simulate Out of Memory errors with large textures
[chromium-blink-merge.git] / content / test / data / accessibility / html / modal-dialog-opened.html
blob47da0581b17a8e894ee73438924ed45608bd9b12
1 <!--
2 @MAC-ALLOW:AXSubrole=*
3 -->
4 <html>
5 <body>
6 Test for modal dialog blocking a document.
7 <section>
8 <dialog id="top-dialog">
9 The dialog subtree should be the only text content in the accessibility tree.
10 <a name="anchor" href="#link">Link inside the dialog.</a>
11 </dialog>
12 <select>
13 <optgroup label="Group">
14 <option>This should be pruned out of the tree.</option>
15 </optgroup>
16 </select>
17 </section>
18 <input type=file>
19 <dialog id="bottom-dialog">
20 This is the pending dialog and should be pruned out.
21 </dialog>
22 <script>
23 document.querySelector('#bottom-dialog').showModal();
24 document.querySelector('#top-dialog').showModal();
25 </script>
26 </body>
27 </html>