OLD | NEW |
1 Tests to ensure ShadowRoot.getElementById works after complex DOM manipulation. | 1 Tests to ensure ShadowRoot.getElementById works after complex DOM manipulation. |
2 | 2 |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
4 | 4 |
5 | 5 |
6 PASS document.getElementById("A") is A | 6 PASS document.getElementById("A") is A |
7 PASS shadowRootA.getElementById("B") is B | 7 PASS shadowRootA.getElementById("B") is B |
8 PASS shadowRootB.getElementById("C") is C | 8 PASS shadowRootB.getElementById("C") is C |
9 PASS shadowRootC.getElementById("D") is D | 9 PASS shadowRootC.getElementById("D") is D |
10 | 10 |
(...skipping 17 matching lines...) Expand all Loading... |
28 | 28 |
29 Remove D from shadowRootC | 29 Remove D from shadowRootC |
30 PASS document.getElementById("A") is null | 30 PASS document.getElementById("A") is null |
31 PASS shadowRootA.getElementById("B") is B | 31 PASS shadowRootA.getElementById("B") is B |
32 PASS shadowRootB.getElementById("C") is null | 32 PASS shadowRootB.getElementById("C") is null |
33 PASS shadowRootC.getElementById("D") is null | 33 PASS shadowRootC.getElementById("D") is null |
34 PASS successfullyParsed is true | 34 PASS successfullyParsed is true |
35 | 35 |
36 TEST COMPLETE | 36 TEST COMPLETE |
37 | 37 |
OLD | NEW |