OLD | NEW |
1 Test that different ways of changing an element's id all work properly. | 1 Test that different ways of changing an element's id all work properly. |
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 | 6 |
7 1. Check id after parsing. | 7 1. Check id after parsing. |
8 PASS document.getElementById("a") is document.body | 8 PASS document.getElementById("a") is document.body |
9 PASS document.body.id is "a" | 9 PASS document.body.id is "a" |
10 PASS document.body.getAttributeNode("id").value is "a" | 10 PASS document.body.getAttributeNode("id").value is "a" |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 | 56 |
57 23. Add an Attr node over an existing one. | 57 23. Add an Attr node over an existing one. |
58 PASS document.getElementById("o") is null | 58 PASS document.getElementById("o") is null |
59 PASS document.getElementById("p") is document.body | 59 PASS document.getElementById("p") is document.body |
60 PASS document.body.id is "p" | 60 PASS document.body.id is "p" |
61 PASS document.body.getAttribute("id") is "p" | 61 PASS document.body.getAttribute("id") is "p" |
62 PASS successfullyParsed is true | 62 PASS successfullyParsed is true |
63 | 63 |
64 TEST COMPLETE | 64 TEST COMPLETE |
65 | 65 |
OLD | NEW |