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-016-ref.xht">
4 <title>CSS Test: blocks inside inlines – insert-into-split-inline-16b</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 <style type="text/css">
10 #i { border: 2px solid; }
11 #i:after { display: block; content: "Two"; }
12 </style>
13 <script type="text/javascript">
14 function doTest() {
15 var i = document.getElementById("i");
16 i.appendChild(document.createTextNode("One"));
17 }
18 </script>
19 </head>
20 <body onload="doTest()">
21 <span id="i"></span>
22
23
24 </body></html>