Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg
[gecko.git] / layout / reftests / ib-split / insert-into-split-inline-2f.html
blob9cf57ed5dc879e6d7788d272adf484494dfbe960
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <title>CSS 2.1 Test Suite: handling of blocks inside inlines</title>
5 <link rel="author" title="Boris Zbarsky" href="mailto:bzbarsky@mit.edu" />
6 <link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" />
7 <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#anonymous-block-level"/>
8 <meta name="flags" content="dom" />
9 <script>
10 function doit() {
11 var newNode = document.createElement("span");
12 newNode.appendChild(document.createTextNode("Six"));
13 document.getElementById("target")
14 .insertBefore(newNode, document.getElementById("insertion"));
16 </script>
17 <style>
18 body > span { border: 3px solid blue }
19 </style>
20 </head>
21 <body onload='doit()'>
22 <span id="target"
23 ><span>One</span
24 ><span>Two</span
25 ><span>Three</span
26 ><div>Four</div
27 ><div>Five</div
28 ><div id="insertion">Seven</div
29 ><div>Eight</div
30 ></span>
31 </body>
32 </html>