tor-browser

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

block-in-inline-insert-013.xht (1089B)


      1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head>
      2     <title>CSS Test: blocks inside inlines &#8211; insert-into-split-inline-13</title>
      3     <link rel="author" title="Boris Zbarsky" href="mailto:bzbarsky@mit.edu" />
      4     <link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" />
      5     <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#anonymous-block-level" />
      6     <link rel="match" href="block-in-inline-insert-013-nosplit-ref.xht"/>
      7     <meta name="flags" content="dom" />
      8     <style type="text/css">
      9       #i { border: 2px solid; }
     10       #i:before { display: block; content: "One"; }
     11       #i:after { content: "Three"; }
     12     </style>
     13     <script type="text/javascript">
     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 
     23 
     24 </body></html>