Various tests for the article element. On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
closes

: PASS article1.parentNode.nodeName == "p" is false

does not close

: PASS p1.parentNode.nodeName is "ARTICLE"
can be nested inside
: PASS article3.parentNode.id is "article2" Residual style: PASS getWeight("article4") is "bold" PASS getWeight("span1") is "bold" FormatBlock: PASS document.getElementById("span2").parentNode.nodeName is "ARTICLE" PASS successfullyParsed is true TEST COMPLETE