Various tests for the figure element. On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
default styling: PASS getStyleValue("figure0","display") is "block" PASS getStyleValue("figure0","margin-top") is emSize PASS getStyleValue("figure0","margin-right") is "40px" PASS getStyleValue("figure0","margin-bottom") is emSize PASS getStyleValue("figure0","margin-left") is "40px"
closes

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

does not close

: PASS p1.parentNode.nodeName is "FIGURE"
can be nested inside
or