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

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

Issue 2951183002: [DevTools] Move inspector-protocol/accessibility tests to new harness (Closed)
Patch Set: 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="../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("input", f alse, msg);
12 });
13 }
14 function done() {
15 document.body.classList.add("done");
16 }
17
18 </script>
19 <style>
20 body.done .tests {
21 display: none;
22 }
23 </style>
24 </head>
25 <!-- Compare with accessibility/name-calc-native-markup-input-buttons.html -->
26 <body onLoad="runTest();">
27 <div class="tests">
28 <input id="button1" type="button">
29
30 <input id="button2" type="button" value="button-value2">
31
32 <input id="button3" type="button" value="button-value3" title="button-title3 ">
33
34 <input id="button4" type="button" title="button-title4">
35
36 <input id="button5" type="button">
37 <label for="button5">button-label-5</label>
38
39 <label>button-label-6<input id="button6" type="button"></label>
40
41 <input id="button7" type="button" value="button-value7">
42 <label for="button7">button-label-7</label>
43
44 <input id="button8" type="button" value="button-value8" aria-label="button-a ria-label-8">
45 <label for="button8">button-label-8</label>
46
47 <input id="button9" type="button" value="button-value9" aria-label="button-a ria-label-9" aria-labelledby="label-for-button9">
48 <label for="button9">button-label-9</label>
49 <span id="label-for-button9">button9-aria-labelledby</span>
50
51 <input id="submit1" type="submit">
52
53 <input id="submit2" type="submit" value="submit-value2">
54
55 <input id="submit3" type="submit" title="submit-title">
56
57 <input id="reset1" type="reset">
58
59 <input id="image-input1" type="image" src="resources/cake.png">
60
61 <input id="image-input2" type="image" src="resources/cake.png" value="image- input-value2">
62
63 <input id="image-input3" type="image" src="resources/cake.png" alt="image-in put-alt3">
64
65 <input id="image-input4" type="image" src="resources/cake.png" alt="image-in put-alt4" value="image-input-value4">
66
67 <input id="image-input5" type="image" src="resources/cake.png" title="image- input-title5">
68 </div>
69 </body>
70 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698