OLD | NEW |
| (Empty) |
1 Various tests for the figure element. | |
2 | |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
4 | |
5 | |
6 <figure> default styling: | |
7 PASS getStyleValue("figure0","display") is "block" | |
8 PASS getStyleValue("figure0","margin-top") is emSize | |
9 PASS getStyleValue("figure0","margin-right") is "40px" | |
10 PASS getStyleValue("figure0","margin-bottom") is emSize | |
11 PASS getStyleValue("figure0","margin-left") is "40px" | |
12 <figure> closes <p>: | |
13 PASS figure1.parentNode.nodeName == "p" is false | |
14 <p> does not close <figure>: | |
15 PASS p1.parentNode.nodeName is "FIGURE" | |
16 <figure> can be nested inside <figure> or <footer>: | |
17 PASS figure3.parentNode.id is "figure2" | |
18 PASS figure5.parentNode.id is "footer1" | |
19 Residual style: | |
20 PASS getStyleValue("figure4","font-weight") is "bold" | |
21 PASS getStyleValue("span1","font-weight") is "bold" | |
22 PASS successfullyParsed is true | |
23 | |
24 TEST COMPLETE | |
25 | |
OLD | NEW |