| OLD | NEW |
| 1 (async function(testRunner) { | 1 (async function(testRunner) { |
| 2 let {page, session, dp} = await testRunner.startHTML(` | 2 let {page, session, dp} = await testRunner.startHTML(` |
| 3 <style> | 3 <style> |
| 4 body.done .tests { | 4 body.done .tests { |
| 5 display: none; | 5 display: none; |
| 6 } | 6 } |
| 7 </style> | 7 </style> |
| 8 <script> | 8 <script> |
| 9 function done() { | 9 function done() { |
| 10 document.body.classList.add('done'); | 10 document.body.classList.add('done'); |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 <label for='text6'>label-for-text6</label> | 28 <label for='text6'>label-for-text6</label> |
| 29 <span id='text-labelledby6'>labelledby-for-text6</span> | 29 <span id='text-labelledby6'>labelledby-for-text6</span> |
| 30 | 30 |
| 31 <label>label-wrapping-text7<input data-dump id='text7' type='text' title='
text7-title'></label> | 31 <label>label-wrapping-text7<input data-dump id='text7' type='text' title='
text7-title'></label> |
| 32 | 32 |
| 33 <label for='dummy'>label-wrapping-text8<input data-dump id='text8' type='t
ext'></label> | 33 <label for='dummy'>label-wrapping-text8<input data-dump id='text8' type='t
ext'></label> |
| 34 | 34 |
| 35 <label for='text9'>label-for-text9</label> | 35 <label for='text9'>label-for-text9</label> |
| 36 <label>label-wrapping-text9<input data-dump id='text9' type='text' title='
text9-title' aria-placeholder='text9-aria-placeholder' placeholder='text9-placeh
older'></label> | 36 <label>label-wrapping-text9<input data-dump id='text9' type='text' title='
text9-title' aria-placeholder='text9-aria-placeholder' placeholder='text9-placeh
older'></label> |
| 37 | 37 |
| 38 <label>label-wrapping-text10<input data-dump id='text10' type='text' title
='text10-title' aria-placeholder='text10-aria-placeholder' placeholder='text10-p
laceholder'> | 38 <label>label-wrapping-text10<input data-dump id='text10' type='text' title
='text10-title' aria-placeholder='text10-aria-placeholder' placeholder='text10-p
laceholder'></label> |
| 39 </label> | |
| 40 | 39 |
| 41 <input data-dump id='text11' type='text'> | 40 <input data-dump id='text11' type='text'> |
| 42 <label for='text11'>first-label-for-text11</label> | 41 <label for='text11'>first-label-for-text11</label> |
| 43 <label for='text11'>second-label-for-text11</label> | 42 <label for='text11'>second-label-for-text11</label> |
| 44 | 43 |
| 45 <input data-dump id='text12' type='text' title='text12-title' aria-placeho
lder='text12-aria-placeholder'> | 44 <input data-dump id='text12' type='text' title='text12-title' aria-placeho
lder='text12-aria-placeholder'> |
| 46 </div> | 45 </div> |
| 47 `, ''); | 46 `, ''); |
| 48 | 47 |
| 49 var dumpAccessibilityNodesBySelectorAndCompleteTest = | 48 var dumpAccessibilityNodesBySelectorAndCompleteTest = |
| 50 (await testRunner.loadScript('../resources/accessibility-dumpAccessibility
Nodes.js'))(testRunner, session); | 49 (await testRunner.loadScript('../resources/accessibility-dumpAccessibility
Nodes.js'))(testRunner, session); |
| 51 | 50 |
| 52 var msg = await dp.DOM.getDocument(); | 51 var msg = await dp.DOM.getDocument(); |
| 53 dumpAccessibilityNodesBySelectorAndCompleteTest('[data-dump]', false, msg); | 52 dumpAccessibilityNodesBySelectorAndCompleteTest('[data-dump]', false, msg); |
| 54 }) | 53 }) |
| OLD | NEW |