blob: c637cf148099f38bec1d5c1b544423570a5869e6 [file] [log] [blame]
Various tests for the section element.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
<section> closes <p>:
PASS section1.parentNode.nodeName == "p" is false
<p> does not close <section>:
PASS p1.parentNode.nodeName is "SECTION"
<section> can be nested inside <section>:
PASS section3.parentNode.id is "section2"
Residual style:
PASS getWeight("section4") is "bold"
PASS getWeight("span1") is "bold"
FormatBlock:
PASS document.getElementById("span2").parentNode.nodeName is "SECTION"
PASS successfullyParsed is true
TEST COMPLETE