1 Various tests for the header element.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
7 PASS header1.parentNode.nodeName == "p" is false
8 <p> does not close <header>:
9 PASS p1.parentNode.nodeName is "HEADER"
10 <header> can be nested inside <header> or <footer>:
11 PASS header3.parentNode.id is "header2"
12 PASS header5.parentNode.id is "footer1"
14 PASS getWeight("header4") is "bold"
15 PASS getWeight("span1") is "bold"
17 PASS document.getElementById("span2").parentNode.nodeName is "HEADER"
18 PASS successfullyParsed is true