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