| OLD | NEW |
| 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> | 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <script src="../resources/js-test.js"></script> | 4 <script src="../resources/js-test.js"></script> |
| 5 </head> | 5 </head> |
| 6 | 6 |
| 7 <body data-role="document" aria-label="implicit document name"> | 7 <body data-role="document" aria-label="implicit document name"> |
| 8 <div id="test-cases"> | 8 <div id="test-cases"> |
| 9 <div role="alert" aria-label="alert name">This is an alert</div> | 9 <div role="alert" aria-label="alert name">This is an alert</div> |
| 10 | 10 |
| (...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 216 </svg> | 216 </svg> |
| 217 | 217 |
| 218 <div id="inputs"> | 218 <div id="inputs"> |
| 219 <input id="c0" data-expectedName="Title0" type="text" title="Title0"> | 219 <input id="c0" data-expectedName="Title0" type="text" title="Title0"> |
| 220 <input id="c1" data-expectedName="Label1" type="text" title="Title1"> | 220 <input id="c1" data-expectedName="Label1" type="text" title="Title1"> |
| 221 <input id="c2" data-expectedName="AriaLabel2" type="text" title="Title2"
aria-label="AriaLabel2"> | 221 <input id="c2" data-expectedName="AriaLabel2" type="text" title="Title2"
aria-label="AriaLabel2"> |
| 222 <input id="c3" data-expectedName="LabelledBy3" type="text" title="Title3
" aria-label="AriaLabel3" | 222 <input id="c3" data-expectedName="LabelledBy3" type="text" title="Title3
" aria-label="AriaLabel3" |
| 223 aria-labelledby="lb3"> | 223 aria-labelledby="lb3"> |
| 224 | 224 |
| 225 <input id="c4" data-expectedName="Placeholder4" type="text" placeholder=
"Placeholder4"> | 225 <input id="c4" data-expectedName="Placeholder4" type="text" placeholder=
"Placeholder4"> |
| 226 <input id="c5" data-expectedName="Title5" type="text" placeholder="Place
holder5" title="Title5"> | 226 <input id="c5" data-expectedName="Placeholder5" type="text" placeholder=
"Placeholder5" title="Title5"> |
| 227 | 227 |
| 228 <input id="c6" data-expectedName="LabelledBy6" type="text" title="Title6
" | 228 <input id="c6" data-expectedName="LabelledBy6" type="text" title="Title6
" |
| 229 aria-label="AriaLabel6" aria-labelledby="lb6" | 229 aria-label="AriaLabel6" aria-labelledby="lb6" |
| 230 aria-describedby="db6"> | 230 aria-describedby="db6"> |
| 231 | 231 |
| 232 <input id="c7" data-expectedName="Placeholder7" type="text" title="Title
7" | 232 <input id="c7" data-expectedName="Placeholder7" type="text" title="Title
7" |
| 233 placeholder="Placeholder7" data-knownFailure> | 233 placeholder="Placeholder7" data-knownFailure> |
| 234 </div> | 234 </div> |
| 235 | 235 |
| 236 <div id="labels"> | 236 <div id="labels"> |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 290 continue; | 290 continue; |
| 291 var expectedNameString = '"' + input.getAttribute('data-expectedName') +
'"'; | 291 var expectedNameString = '"' + input.getAttribute('data-expectedName') +
'"'; |
| 292 shouldBe('input.computedName', expectedNameString); | 292 shouldBe('input.computedName', expectedNameString); |
| 293 } | 293 } |
| 294 document.querySelector('#test-cases').style.display = 'none'; | 294 document.querySelector('#test-cases').style.display = 'none'; |
| 295 } | 295 } |
| 296 </script> | 296 </script> |
| 297 | 297 |
| 298 </body> | 298 </body> |
| 299 </html> | 299 </html> |
| OLD | NEW |