| OLD | NEW |
| (Empty) | |
| 1 <html> |
| 2 <head> |
| 3 <script type="text/javascript" src="../../http/tests/inspector-protocol/dom-prot
ocol-test.js"></script> |
| 4 <script type="text/javascript" src="../../http/tests/inspector-protocol/inspecto
r-protocol-test.js"></script> |
| 5 <script type="text/javascript" src="accessibility-ignoredNodes-common.js"></scri
pt> |
| 6 <script> |
| 7 |
| 8 function test() { |
| 9 var nodeInfo = {}; |
| 10 InspectorTest.trackGetChildNodesEvents(nodeInfo); |
| 11 |
| 12 var maxId = 3; |
| 13 InspectorTest.sendCommand("DOM.getDocument", {}, common_onGotDocument.bind(n
ull, maxId)); |
| 14 } |
| 15 </script> |
| 16 </head> |
| 17 <body onLoad="runTest();"> |
| 18 <div id="_1">Hidden by modal dialog</div> |
| 19 <dialog id="_2"> |
| 20 (Dialog itself is not hidden) |
| 21 <div id="_3">Non-hidden element inside dialog</div> |
| 22 </dialog> |
| 23 <script> |
| 24 document.querySelector("dialog").showModal(); |
| 25 </script> |
| 26 </body> |
| 27 </html> |
| OLD | NEW |