layout/reftests/ib-split/insert-into-split-inline-1i.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/ib-split/insert-into-split-inline-1i.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,35 @@
     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 +  <script>
    1.13 +   function doit() {
    1.14 +     var newNode = document.createElement("span");
    1.15 +     newNode.appendChild(document.createTextNode("Nine"));
    1.16 +     document.getElementById("target")
    1.17 +             .insertBefore(newNode, document.getElementById("insertion"));
    1.18 +   }
    1.19 +  </script>
    1.20 +  <style>
    1.21 +   body > span { border: 3px solid blue }
    1.22 +  </style>
    1.23 + </head>
    1.24 + <body onload='doit()'>
    1.25 +  <span id="target"
    1.26 +  ><span>One</span
    1.27 +  ><span>Two</span
    1.28 +  ><span>Three</span
    1.29 +  ><div>Four</div
    1.30 +  ><div>Five</div
    1.31 +  ><span>Six</span
    1.32 +  ><div>Seven</div
    1.33 +  ><div>Eight</div
    1.34 +  ><span id="insertion">Ten</span
    1.35 +  ><span>Eleven</span
    1.36 + ></span>
    1.37 + </body>
    1.38 +</html>

mercurial