blob: e0ec8177a2bf8a24a6ce3d6d0eb8611520ce1f1c [file] [log] [blame]
Various tests for the footer element.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
<footer> closes <p>:
PASS footer1.parentNode.nodeName == "p" is false
<p> does not close <footer>:
PASS p1.parentNode.nodeName is "FOOTER"
<footer> can be nested inside <footer> or <header>:
PASS footer3.parentNode.id is "footer2"
PASS footer5.parentNode.id is "header1"
Residual style:
PASS getWeight("footer4") is "700"
PASS getWeight("span1") is "700"
FormatBlock:
PASS document.getElementById("span2").parentNode.nodeName is "FOOTER"
PASS successfullyParsed is true
TEST COMPLETE