1 Various tests for the figcaption element.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 <figcaption> default styling:
7 PASS getStyleValue("figcaption0","display") is "block"
8 <figcaption> closes <p>:
9 PASS figcaption1.parentNode.nodeName == "p" is false
10 <p> does not close <figcaption>:
11 PASS p1.parentNode.nodeName is "FIGCAPTION"
12 <figcaption> can be nested inside <figcaption> or <footer>:
13 PASS figcaption3.parentNode.id is "figcaption2"
14 PASS figcaption5.parentNode.id is "footer1"
16 PASS getStyleValue("figcaption4","font-weight") is "bold"
17 PASS getStyleValue("span1","font-weight") is "bold"
18 PASS successfullyParsed is true