OLD | NEW |
| (Empty) |
1 Various tests for the figcaption element. | |
2 | |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
4 | |
5 | |
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" | |
15 Residual style: | |
16 PASS getStyleValue("figcaption4","font-weight") is "bold" | |
17 PASS getStyleValue("span1","font-weight") is "bold" | |
18 PASS successfullyParsed is true | |
19 | |
20 TEST COMPLETE | |
21 | |
OLD | NEW |