| OLD | NEW |
| (Empty) |
| 1 <html> | |
| 2 <head> | |
| 3 <script type="text/javascript" src="../resources/dom-protocol-test.js"></script> | |
| 4 <script type="text/javascript" src="../../http/tests/inspector-protocol/resource
s/inspector-protocol-test.js"></script> | |
| 5 <script type="text/javascript" src="./../resources/accessibility-dumpAccessibili
tyNodes.js"></script> | |
| 6 <script> | |
| 7 | |
| 8 function test() | |
| 9 { | |
| 10 InspectorTest.sendCommand("DOM.getDocument", {}, (msg) => { | |
| 11 InspectorTest.dumpAccessibilityNodesBySelectorAndCompleteTest("button",
false, msg); | |
| 12 }); | |
| 13 } | |
| 14 | |
| 15 function done() { | |
| 16 document.body.classList.add("done"); | |
| 17 } | |
| 18 | |
| 19 </script> | |
| 20 <style> | |
| 21 body.done .tests { | |
| 22 display: none; | |
| 23 } | |
| 24 </style> | |
| 25 </head> | |
| 26 <!-- Compare with accessibility/name-calc-native-markup-buttons.html" --> | |
| 27 <body onLoad="runTest();"> | |
| 28 <div class="tests"> | |
| 29 <button id="button1"></button> | |
| 30 | |
| 31 <button id="button2">button2-content</button> | |
| 32 | |
| 33 <button id="button3"><img src="resources/cake.png"></button> | |
| 34 | |
| 35 <button id="button4"><img src="resources/cake.png" alt="cake"></button> | |
| 36 | |
| 37 <button id="button5">I love <img src="resources/cake.png">!</button> | |
| 38 | |
| 39 <button id="button6">I love <img src="resources/cake.png" alt="cake">!</but
ton> | |
| 40 | |
| 41 <button id="button7" title="button7-title"></button> | |
| 42 | |
| 43 <button id="button8" title="button8-title">button8-content</button> | |
| 44 | |
| 45 <button id="button9" title="button9-title"><img src="resources/cake.png"></
button> | |
| 46 | |
| 47 <button id="button10" title="button10-title"><img src="resources/cake.png"
alt="cake"></button> | |
| 48 | |
| 49 <button id="button11">button11-content</button> | |
| 50 <label for="button11">label-for-button11</label> | |
| 51 </div> | |
| 52 </body> | |
| 53 </html> | |
| OLD | NEW |