1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/ib-split/insert-into-split-inline-13.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,24 @@ 1.4 +<!DOCTYPE html> 1.5 +<html> 1.6 + <head> 1.7 + <title>CSS 2.1 Test Suite: handling of blocks inside inlines</title> 1.8 + <link rel="author" title="Boris Zbarsky" href="mailto:bzbarsky@mit.edu" /> 1.9 + <link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" /> 1.10 + <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#anonymous-block-level"/> 1.11 + <meta name="flags" content="dom" /> 1.12 + <style> 1.13 + #i { border: 2px solid; } 1.14 + #i::before { display: block; content: "One"; } 1.15 + #i::after { content: "Three"; } 1.16 + </style> 1.17 + <script> 1.18 + function doTest() { 1.19 + var i = document.getElementById("i"); 1.20 + i.insertBefore(document.createTextNode("Two"), i.firstChild); 1.21 + } 1.22 + </script> 1.23 + </head> 1.24 + <body onload="doTest()"> 1.25 + <span id="i"><span style="display: none"></span></span> 1.26 + </body> 1.27 +</html>