block-in-inline-insert-001a

blocks inside inlines – insert-into-split-inline-1a

WeasyPrint

Reference (good) by WeasyPrint

Reference (good) by this browser

This browser

Flags
dom

Source

 1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
 2 <html><head>
 3     <link rel="reference" href="block-in-inline-insert-001-ref.xht">
 4     <link rel="reference" href="block-in-inline-insert-001-nosplit-ref.xht">
 5     <title>CSS Test: blocks inside inlines – insert-into-split-inline-1a</title>
 6     <link rel="author" title="Boris Zbarsky" href="mailto:bzbarsky@mit.edu">
 7     <link rel="author" title="Mozilla Corporation" href="http://mozilla.com/">
 8     <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#anonymous-block-level">
 9     <meta name="flags" content="dom">
10   <script type="text/javascript">
11    function doit() {
12      var newNode = document.createElement("span");
13      newNode.appendChild(document.createTextNode("One"));
14      document.getElementById("target")
15              .insertBefore(newNode, document.getElementById("insertion"));
16    }
17   </script>
18   <style type="text/css">
19    body > span { border: 3px solid blue }
20   </style>
21  </head>
22  <body onload="doit()">
23   <span id="target"><span id="insertion">Two</span><span>Three</span><div>Four</div><div>Five</div><span>Six</span><div>Seven</div><div>Eight</div><span>Nine</span><span>Ten</span><span>Eleven</span></span>
24  
25 
26 </body></html>