Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / inspector-protocol / accessibility / accessibility-ignoredNodesModal.html
blob806e528c855dcc0da7c37cfcf293c4b2fdcfde10
1 <html>
2 <head>
3 <script type="text/javascript" src="../../http/tests/inspector-protocol/dom-protocol-test.js"></script>
4 <script type="text/javascript" src="../../http/tests/inspector-protocol/inspector-protocol-test.js"></script>
5 <script type="text/javascript" src="accessibility-ignoredNodesTest.js"></script>
6 <script>
8 function test()
10 var nodeInfo = {};
11 InspectorTest.trackGetChildNodesEvents(nodeInfo);
13 var ids = ["_1", "_2", "_3"];
14 InspectorTest.sendCommand("DOM.getDocument", {}, InspectorTest.dumpAccessibilityNodesByIdrefAndCompleteTest.bind(null, ids));
16 </script>
17 </head>
18 <body onLoad="runTest();">
19 <div id="_1">Hidden by modal dialog</div>
20 <dialog id="_2">
21 (Dialog itself is not hidden)
22 <div id="_3">Non-hidden element inside dialog</div>
23 </dialog>
24 <script>
25 document.querySelector("dialog").showModal();
26 </script>
27 </body>
28 </html>