| OLD | NEW |
| (Empty) |
| 1 Various tests for the main element. | |
| 2 | |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
| 4 | |
| 5 | |
| 6 <main> closes <p>: | |
| 7 PASS main1.parentNode.nodeName == "p" is false | |
| 8 <p> does not close <main>: | |
| 9 PASS p1.parentNode.nodeName is "MAIN" | |
| 10 <main> can be nested inside <main>: | |
| 11 PASS main3.parentNode.id is "main2" | |
| 12 Residual style: | |
| 13 PASS getWeight("main4") is "bold" | |
| 14 PASS getWeight("span1") is "bold" | |
| 15 FormatBlock: | |
| 16 PASS document.getElementById("span2").parentNode.nodeName is "MAIN" | |
| 17 PASS successfullyParsed is true | |
| 18 | |
| 19 TEST COMPLETE | |
| 20 | |
| OLD | NEW |