layout/reftests/ib-split/insert-into-split-inline-14.html

Wed, 31 Dec 2014 07:16:47 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:16:47 +0100
branch
TOR_BUG_9701
changeset 3
141e0f1194b1
permissions
-rw-r--r--

Revert simplistic fix pending revisit of Mozilla integration attempt.

     1 <!DOCTYPE html>
     2 <html>
     3   <head>
     4     <title>CSS 2.1 Test Suite: handling of blocks inside inlines</title>
     5     <link rel="author" title="Boris Zbarsky" href="mailto:bzbarsky@mit.edu" />
     6     <link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" />
     7     <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#anonymous-block-level"/>
     8     <meta name="flags" content="dom" />
     9     <style>
    10       #i { border: 2px solid; }
    11       #i::before { display: block; content: "One"; }
    12     </style>
    13     <script>
    14       function doTest() {
    15         var i = document.getElementById("i");
    16         i.insertBefore(document.createTextNode("Two"), i.firstChild);
    17       }
    18     </script>
    19   </head>
    20   <body onload="doTest()">
    21     <span id="i"><span style="display: none"></span></span>
    22   </body>
    23 </html>

mercurial