1 <p>This page tests nesting h3 and h4 elements as seen in
<a href=
"http://bugs.webkit.org/show_bug.cgi?id=12646">RapidWeaver
3.5.1</a>.
</p>
3 <pre id=
"console"></pre>
5 <h3 id=
"h3"><a style=
"display: block"><h4>header
</h4></a></h3><div>content
</div>
10 document
.getElementById("console").appendChild(document
.createTextNode(s
+ "\n"));
13 if (window
.testRunner
)
14 testRunner
.dumpAsText();
16 var h3
= document
.getElementById("h3");
17 log("h3.firstChild: " + h3
.firstChild
.tagName
);
18 log("h3.nextSibling: " + h3
.nextSibling
.tagName
);
19 log("h3.nextSibling.innerText: " + h3
.nextSibling
.innerText
);