Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(71)

Side by Side Diff: content/test/data/accessibility/modal-dialog-in-iframe-closed.html

Issue 815463006: Separating ARIA, HTML & event AX test. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <!--
2 @MAC-ALLOW:AXSubrole=*
3 -->
4 <html>
5 <body>
6 Test for modal dialog closed in an iframe.
7 <iframe scrolling="no"></iframe>
8 <script>
9 var frameCode =
10 '<dialog>Text in the dialog.</dialog>\n' +
11 '<button>I am a non-inert button!</button>\n';
12
13 var iframeDoc = document.querySelector('iframe').contentDocument;
14 iframeDoc.open();
15 iframeDoc.write(frameCode);
16 iframeDoc.close();
17
18 var dialog = iframeDoc.querySelector('dialog');
19 dialog.showModal();
20 dialog.close();
21 </script>
22 </body>
23 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698