Wed, 31 Dec 2014 07:16:47 +0100
Revert simplistic fix pending revisit of Mozilla integration attempt.
michael@0 | 1 | <!DOCTYPE html> |
michael@0 | 2 | <html> |
michael@0 | 3 | <head> |
michael@0 | 4 | <title>CSS 2.1 Test Suite: handling of blocks inside inlines</title> |
michael@0 | 5 | <link rel="author" title="Boris Zbarsky" href="mailto:bzbarsky@mit.edu" /> |
michael@0 | 6 | <link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" /> |
michael@0 | 7 | <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#anonymous-block-level"/> |
michael@0 | 8 | <meta name="flags" content="dom" /> |
michael@0 | 9 | <style> |
michael@0 | 10 | body > span { border: 3px solid blue } |
michael@0 | 11 | </style> |
michael@0 | 12 | <script> |
michael@0 | 13 | function doIt() { |
michael@0 | 14 | var t = document.createTextNode(" "); |
michael@0 | 15 | var d = document.getElementById("d"); |
michael@0 | 16 | d.parentNode.insertBefore(t, d); |
michael@0 | 17 | } |
michael@0 | 18 | </script> |
michael@0 | 19 | </head> |
michael@0 | 20 | <body onload="doIt()"> |
michael@0 | 21 | <span> |
michael@0 | 22 | <div>One</div><div id="d">Two</div> |
michael@0 | 23 | </span> |
michael@0 | 24 | </body> |
michael@0 | 25 | </html> |