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