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

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

Issue 2942573003: [DevTools] New harness for inspector-protocol layout tests (Closed)
Patch Set: Protocol -> dp Created 3 years, 6 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 <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-dumpAccessibilityNodes.js">< /script>
6 <script>
7
8 function test()
9 {
10 InspectorTest.sendCommand("DOM.getDocument", {}, (msg) => {
11 InspectorTest.dumpAccessibilityNodesBySelectorAndCompleteTest("[data-dum p]", false, msg);
12 });
13 }
14
15 </script>
16 </head>
17 <body onLoad="runTest();">
18 <h3 id="rg1_label">Lunch Options</h3>
19 <ul id="rg1" class="radiogroup" role="radiogroup" aria-labelledby="rg1_label" aria-activedescendant="rg1-r4" tabindex="0" data-dump>
20 <li id="rg1-r1" tabindex="-1" role="radio" aria-checked="false">
21 Thai
22 </li>
23 <li id="rg1-r2" tabindex="-1" role="radio" aria-checked="false">
24 Subway
25 </li>
26 <li id="rg1-r3" tabindex="-1" role="radio" aria-checked="false">
27 Jimmy Johns
28 </li>
29 <li id="rg1-r4" tabindex="-1" role="radio" aria-checked="true">
30 Radio Maria
31 </li>
32 <li id="rg1-r5" tabindex="-1" role="radio" aria-checked="false">
33 Rainbow Gardens
34 </li>
35 </ul>
36
37 <!-- Start of second Radio Group -->
38 <h3 id="rg2_label">Drink Options</h3>
39 <ul id="rg2" role="radiogroup" aria-labelledby="rg2_label" aria-activedescenda nt="" tabindex="0" data-dump>
40 <li id="rg2-r1" tabindex="-1" role="radio" aria-checked="false">
41 Water
42 </li>
43 <li id="rg2-r2" tabindex="-1" role="radio" aria-checked="false">
44 Tea
45 </li>
46 <li id="rg2-r3" tabindex="-1" role="radio" aria-checked="false">
47 Coffee
48 </li>
49 <li id="rg2-r4" tabindex="-1" role="radio" aria-checked="false">
50 Cola
51 </li>
52 <li id="rg2-r5" tabindex="-1" role="radio" aria-checked="false">
53 Ginger Ale
54 </li>
55 </ul>
56 </body>
57 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698