Wed, 31 Dec 2014 06:55:50 +0100
Added tag UPSTREAM_283F7C6 for changeset ca08bd8f51b2
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 | #i { border: 2px solid; } |
michael@0 | 11 | #i::before { display: block; content: "One"; } |
michael@0 | 12 | #i::after { content: "Three"; } |
michael@0 | 13 | </style> |
michael@0 | 14 | <script> |
michael@0 | 15 | function doTest() { |
michael@0 | 16 | var i = document.getElementById("i"); |
michael@0 | 17 | i.insertBefore(document.createTextNode("Two"), i.firstChild); |
michael@0 | 18 | } |
michael@0 | 19 | </script> |
michael@0 | 20 | </head> |
michael@0 | 21 | <body onload="doTest()"> |
michael@0 | 22 | <span id="i"><span style="display: none"></span></span> |
michael@0 | 23 | </body> |
michael@0 | 24 | </html> |