OLD | NEW |
1 <!-- | 1 <!-- |
2 @MAC-ALLOW:AXSubrole=* | 2 @MAC-ALLOW:AXSubrole=* |
3 --> | 3 --> |
4 <html> | 4 <html> |
5 <body> | 5 <body> |
6 Test for modal dialog blocking a document. | 6 Test for modal dialog blocking a document. |
7 <section> | 7 <section> |
8 <dialog id="top-dialog"> | 8 <dialog id="top-dialog"> |
9 The dialog subtree should be the only text content in the accessibility tree
. | 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> | 10 <a name="anchor" href="#link">Link inside the dialog.</a> |
11 </dialog> | 11 </dialog> |
12 <select> | 12 <select> |
13 <optgroup label="Group"> | 13 <optgroup label="Group"> |
14 <option>This should be pruned out of the tree.</option> | 14 <option>This should be pruned out of the tree.</option> |
15 </optgroup> | 15 </optgroup> |
16 </select> | 16 </select> |
17 </section> | 17 </section> |
18 <input type=file> | 18 <input type=file> |
19 <dialog id="bottom-dialog"> | 19 <dialog id="bottom-dialog"> |
20 This is the pending dialog and should be pruned out. | 20 This is the pending dialog and should be pruned out. |
21 </dialog> | 21 </dialog> |
22 <script> | 22 <script> |
23 document.querySelector('#bottom-dialog').showModal(); | 23 document.querySelector('#bottom-dialog').showModal(); |
24 document.querySelector('#top-dialog').showModal(); | 24 document.querySelector('#top-dialog').showModal(); |
25 </script> | 25 </script> |
26 </body> | 26 </body> |
27 </html> | 27 </html> |
OLD | NEW |