layout/reftests/bugs/343540-1.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 <html>
     2 <head>
     3 <style>
     4 span#dd:before {
     5   display: inline;
     6   white-space: pre;
     7   content: "bef-\Aore";
     8   color: gray;
     9 }
    10 </style>
    11 <script>
    12 function boo()
    13 {
    14   var div = document.getElementById("div"); 
    15   var dd = document.getElementById("dd");
    16   var newTextNode = document.createTextNode("new");
    17   dd.insertBefore(newTextNode, div);
    18 }
    20 window.addEventListener("load", boo, false);
    22 </script>
    23 </head>
    24 <body>
    25 <span id="dd"><div id="div">div</div></span>
    26 </body>
    27 </html>

mercurial