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-remove-002-ref.xht">
4 <title>CSS Test: blocks inside inlines – remove-from-split-inline-2</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 type="text/javascript">
10 function doit() {
11 var target = document.getElementById("target");
12 target.parentNode.removeChild(target);
13 }
14 </script>
15 <style type="text/css">
16 body > span { border: 3px solid blue }
17 </style>
18 </head>
19 <body onload="doit()">
20 <span>
21 One
22 <div id="target">Three</div>
23 Two
24 </span>
25
26
27 </body></html>