layout/reftests/bugs/386014-1b.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 <style>
     5  caption { color: green }
     6 </style>
     7 <script>
     8 function boom()
     9 {
    10   var table = document.getElementById("table");
    12   var newCaption = document.createElement('caption');
    13   newCaption.appendChild(document.createTextNode("TEST"));
    14   newCaption.style.background = "inherit"
    15   table.appendChild(newCaption);
    16   table.appendChild(document.createElement('caption'));
    17 }
    18 </script>
    20 </head>
    21 <body onload="boom();">
    23 <table id="table" style="background: green;"></table>
    25 </body>
    26 </html>

mercurial