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