Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / invalid / nestedh3s-rapidweaver.html
blob846181cb9325e9f652729f32bf18658cfa355bc5
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>
2 <hr>
3 <pre id="console"></pre>
5 <h3 id="h3"><a style="display: block"><h4>header</h4></a></h3><div>content</div>
7 <script>
8 function log(s)
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);
20 </script>