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