OLD | NEW |
(Empty) | |
| 1 Test that CSS selector queries on duplicate Ids respect scope. |
| 2 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 |
| 5 |
| 6 PASS document.querySelectorAll('#duplicateId1').length is 6 |
| 7 PASS document.querySelectorAll('#duplicateId2').length is 2 |
| 8 PASS scopeDiv.querySelectorAll('#duplicateId1').length is 4 |
| 9 PASS scopeDiv.querySelector('#duplicateId2') is null |
| 10 PASS scopeDiv.querySelectorAll('#duplicateId2').length is 0 |
| 11 PASS successfullyParsed is true |
| 12 |
| 13 TEST COMPLETE |
| 14 |
OLD | NEW |