| OLD | NEW |
| 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", {}, (msg) => { | 10 InspectorTest.sendCommand("DOM.getDocument", {}, (msg) => { |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 } | 23 } |
| 24 </style> | 24 </style> |
| 25 </head> | 25 </head> |
| 26 <!-- Compare with accessibility/name-calc-inputs.html --> | 26 <!-- Compare with accessibility/name-calc-inputs.html --> |
| 27 <body onLoad="runTest();"> | 27 <body onLoad="runTest();"> |
| 28 <div class="tests"> | 28 <div class="tests"> |
| 29 <input data-dump id="text1" type="text"> | 29 <input data-dump id="text1" type="text"> |
| 30 | 30 |
| 31 <input data-dump id="text2" type="text" title="text2-title"> | 31 <input data-dump id="text2" type="text" title="text2-title"> |
| 32 | 32 |
| 33 <input data-dump id="text3" type="text" title="text3-title" placeholder="tex
t3-placeholder"> | 33 <input data-dump id="text3" type="text" title="text3-title" aria-placeholder
="text3-aria-placeholder" placeholder="text3-placeholder"> |
| 34 | 34 |
| 35 <input data-dump id="text4" type="text" title="text4-title" placeholder="tex
t4-placeholder"> | 35 <input data-dump id="text4" type="text" title="text4-title" aria-placeholder
="text4-aria-placeholder" placeholder="text4-placeholder"> |
| 36 <label for="text4">label-for-text4</label> | 36 <label for="text4">label-for-text4</label> |
| 37 | 37 |
| 38 <input data-dump id="text5" type="text" title="text5-title" placeholder="tex
t5-placeholder" aria-label="text5-aria-label"> | 38 <input data-dump id="text5" type="text" title="text5-title" aria-placeholder
="text5-aria-placeholder" placeholder="text5-placeholder" aria-label="text5-aria
-label"> |
| 39 <label for="text5">label-for-text5</label> | 39 <label for="text5">label-for-text5</label> |
| 40 | 40 |
| 41 <input data-dump id="text6" type="text" title="text6-title" placeholder="tex
t6-placeholder" aria-label="text6-aria-label" aria-labelledby="text-labelledby6"
> | 41 <input data-dump id="text6" type="text" title="text6-title" aria-placeholder
="text6-aria-placeholder" placeholder="text6-placeholder" aria-label="text6-aria
-label" aria-labelledby="text-labelledby6"> |
| 42 <label for="text6">label-for-text6</label> | 42 <label for="text6">label-for-text6</label> |
| 43 <span id="text-labelledby6">labelledby-for-text6</span> | 43 <span id="text-labelledby6">labelledby-for-text6</span> |
| 44 | 44 |
| 45 <label>label-wrapping-text7<input data-dump id="text7" type="text" title="te
xt7-title"></label> | 45 <label>label-wrapping-text7<input data-dump id="text7" type="text" title="te
xt7-title"></label> |
| 46 | 46 |
| 47 <label for="dummy">label-wrapping-text8<input data-dump id="text8" type="tex
t"></label> | 47 <label for="dummy">label-wrapping-text8<input data-dump id="text8" type="tex
t"></label> |
| 48 | 48 |
| 49 <label for="text9">label-for-text9</label> | 49 <label for="text9">label-for-text9</label> |
| 50 <label>label-wrapping-text9<input data-dump id="text9" type="text" title="te
xt9-title" placeholder="text9-placeholder"></label> | 50 <label>label-wrapping-text9<input data-dump id="text9" type="text" title="te
xt9-title" aria-placeholder="text9-aria-placeholder" placeholder="text9-placehol
der"></label> |
| 51 | 51 |
| 52 <label>label-wrapping-text10<input data-dump id="text10" type="text" title="
text10-title" placeholder="text10-placeholder"> | 52 <label>label-wrapping-text10<input data-dump id="text10" type="text" title="
text10-title" aria-placeholder="text10-aria-placeholder" placeholder="text10-pla
ceholder"> |
| 53 </label> | 53 </label> |
| 54 | 54 |
| 55 <input data-dump id="text11" type="text"> | 55 <input data-dump id="text11" type="text"> |
| 56 <label for="text11">first-label-for-text11</label> | 56 <label for="text11">first-label-for-text11</label> |
| 57 <label for="text11">second-label-for-text11</label> | 57 <label for="text11">second-label-for-text11</label> |
| 58 </div> | 58 |
| 59 <input data-dump id="text12" type="text" title="text12-title" aria-placehold
er="text12-aria-placeholder"> |
| 60 </div> |
| 59 </body> | 61 </body> |
| 60 </html> | 62 </html> |
| OLD | NEW |