1 Various tests for the section element.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
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"
13 PASS getWeight("section4") is "bold"
14 PASS getWeight("span1") is "bold"
16 PASS document.getElementById("span2").parentNode.nodeName is "SECTION"
17 PASS successfullyParsed is true