layout/base/crashtests/405186-1.xhtml

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)

     1 <html xmlns="http://www.w3.org/1999/xhtml">
     2 <head>
     4 <bindings xmlns="http://www.mozilla.org/xbl">
     5   <binding id="foo">
     6     <content>
     7       <div xmlns="http://www.w3.org/1999/xhtml" style="position: fixed;">
     8         <children xmlns="http://www.mozilla.org/xbl"/>
     9       </div>
    10     </content>
    11   </binding>
    12 </bindings>
    14 <script type="text/javascript">
    16 function boom()
    17 {
    18   var table = document.getElementById("table");
    19   var tr = document.getElementById("tr");
    20   var td = document.getElementById("td");
    22   table.style.border = "2px dotted magenta";
    23   tr.removeChild(td);
    24 }
    26 </script>
    27 </head>
    29 <body onload="boom();">
    31 <table id="table" style="-moz-binding: url(#foo);">
    32   <tr id="tr">
    33     <td id="td"></td>
    34   </tr>
    35 </table>
    37 </body>
    39 </html>

mercurial