tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

insert-into-split-inline-13.html (837B)


      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      #i::after { content: "Three"; }
     13    </style>
     14    <script>
     15      function doTest() {
     16        var i = document.getElementById("i");
     17        i.insertBefore(document.createTextNode("Two"), i.firstChild);
     18      }
     19    </script>
     20  </head>
     21  <body onload="doTest()">
     22    <span id="i"><span style="display: none"></span></span>
     23  </body>
     24 </html>