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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector-protocol/accessibility/accessibility-nameSources-buttons.html

Issue 2390783006: [DevTools] Accessibility: Show siblings and children of selected node (Closed)
Patch Set: Rebase tests again and be consistent about backendDOMNodeId Created 4 years, 1 month 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
1 <html> 1 <html>
2 <head> 2 <head>
3 <script type="text/javascript" src="../../http/tests/inspector-protocol/dom-prot ocol-test.js"></script> 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> 4 <script type="text/javascript" src="../../http/tests/inspector-protocol/inspecto r-protocol-test.js"></script>
5 <script type="text/javascript" src="./accessibility-dumpAccessibilityNodes.js">< /script> 5 <script type="text/javascript" src="./accessibility-dumpAccessibilityNodes.js">< /script>
6 <script> 6 <script>
7 7
8 function test() 8 function test()
9 { 9 {
10 InspectorTest.sendCommand("DOM.getDocument", {}, InspectorTest.dumpAccessibi lityNodesBySelectorAndCompleteTest.bind(null, "button")); 10 InspectorTest.sendCommand("DOM.getDocument", {}, (msg) => {
11 InspectorTest.dumpAccessibilityNodesBySelectorAndCompleteTest("button", false, msg);
12 });
11 } 13 }
12 14
13 function done() { 15 function done() {
14 document.body.classList.add("done"); 16 document.body.classList.add("done");
15 } 17 }
16 18
17 </script> 19 </script>
18 <style> 20 <style>
19 body.done .tests { 21 body.done .tests {
20 display: none; 22 display: none;
(...skipping 21 matching lines...) Expand all
42 44
43 <button id="button9" title="button9-title"><img src="resources/cake.png"></ button> 45 <button id="button9" title="button9-title"><img src="resources/cake.png"></ button>
44 46
45 <button id="button10" title="button10-title"><img src="resources/cake.png" alt="cake"></button> 47 <button id="button10" title="button10-title"><img src="resources/cake.png" alt="cake"></button>
46 48
47 <button id="button11">button11-content</button> 49 <button id="button11">button11-content</button>
48 <label for="button11">label-for-button11</label> 50 <label for="button11">label-for-button11</label>
49 </div> 51 </div>
50 </body> 52 </body>
51 </html> 53 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698