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