OLD | NEW |
1 Various tests for the main element. | 1 Various tests for the main 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 <main> closes <p>: | 6 <main> closes <p>: |
7 PASS main1.parentNode.nodeName == "p" is false | 7 PASS main1.parentNode.nodeName == "p" is false |
8 <p> does not close <main>: | 8 <p> does not close <main>: |
9 PASS p1.parentNode.nodeName is "MAIN" | 9 PASS p1.parentNode.nodeName is "MAIN" |
10 <main> can be nested inside <main>: | 10 <main> can be nested inside <main>: |
11 PASS main3.parentNode.id is "main2" | 11 PASS main3.parentNode.id is "main2" |
12 Residual style: | 12 Residual style: |
13 PASS getWeight("main4") is "bold" | 13 PASS getWeight("main4") is "bold" |
14 PASS getWeight("span1") is "bold" | 14 PASS getWeight("span1") is "bold" |
15 FormatBlock: | 15 FormatBlock: |
16 PASS document.getElementById("span2").parentNode.nodeName is "MAIN" | 16 PASS document.getElementById("span2").parentNode.nodeName is "MAIN" |
17 PASS successfullyParsed is true | 17 PASS successfullyParsed is true |
18 | 18 |
19 TEST COMPLETE | 19 TEST COMPLETE |
20 | 20 |
OLD | NEW |