block-in-inline-remove-006

blocks inside inlines – remove-from-split-inline-6

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-remove-006-ref.xht">
 4     <link rel="reference" href="block-in-inline-remove-006-nosplit-ref.xht">
 5     <title>CSS Test: blocks inside inlines – remove-from-split-inline-6</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 target = document.getElementById("target");
13      target.parentNode.removeChild(target);
14    }
15   </script>
16   <style type="text/css">
17    body > span { border: 3px solid blue }
18   </style>
19  </head>
20  <body onload="doit()">
21    <span>
22      One
23      <div>Two</div>
24      <span id="target">Five</span>
25      <div>Three</div>
26      Four
27    </span>
28  
29 
30 </body></html>