blob: f60ac38c56f08e190985755b9c7d49e4169bc7bf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
Various tests for the article element.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
<article> closes <p>:
PASS article1.parentNode.nodeName == "p" is false
<p> does not close <article>:
PASS p1.parentNode.nodeName is "ARTICLE"
<article> can be nested inside <article>:
PASS article3.parentNode.id is "article2"
Residual style:
PASS getWeight("article4") is "bold"
PASS getWeight("span1") is "bold"
FormatBlock:
PASS document.getElementById("span2").parentNode.nodeName is "ARTICLE"
PASS successfullyParsed is true
TEST COMPLETE
|