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").isId is true | 10 PASS document.body.getAttributeNode("id").isId is true |
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 | 161 |
162 23. Add an Attr node over an existing one. | 162 23. Add an Attr node over an existing one. |
163 PASS document.getElementById("o") is null | 163 PASS document.getElementById("o") is null |
164 PASS document.getElementById("p") is document.body | 164 PASS document.getElementById("p") is document.body |
165 PASS document.body.id is "p" | 165 PASS document.body.id is "p" |
166 PASS document.body.getAttribute("id") is "p" | 166 PASS document.body.getAttribute("id") is "p" |
167 PASS successfullyParsed is true | 167 PASS successfullyParsed is true |
168 | 168 |
169 TEST COMPLETE | 169 TEST COMPLETE |
170 | 170 |
OLD | NEW |