layout/generic/crashtests/463785.xhtml

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     1 <html xmlns="http://www.w3.org/1999/xhtml" xmlns:html="http://www.w3.org/1999/xhtml" class="reftest-wait">
     3 <bindings xmlns="http://www.mozilla.org/xbl" xmlns:xlink="http://www.w3.org/1999/xlink">
     4 <binding id="xbl">
     5 <content>
     6 <div xmlns="http://www.w3.org/1999/xhtml" style="border: 100px solid red;">
     7 <div  style="position: fixed;"/>
     8 </div>
     9 </content>
    10 </binding>
    11 </bindings>
    13 <div style="position: absolute; -moz-column-count: 2;">
    14 <table style="border: 100px solid green;" id="c">
    15 <tr id="b" style="-moz-binding:url(#xbl)">
    16 <td style="position: absolute;">
    17 m
    18   <span id="a">
    19     <div style="border: 100px solid black;">
    20        <div style="position: fixed;"/>
    21     </div>
    22   </span>
    24 </td>
    25 </tr>
    26 </table>
    27 </div>
    29 <script>
    30 var doc = document;
    31 function doe() {
    32   var newNode = document.createElementNS("http://www.w3.org/1999/xhtml", 'div');
    33   newNode.innerHTML = '<div xmlns="http://www.w3.org/1999/xhtml" style="border: 100px solid black;"><div  style="position: fixed;"/></div>';
    34   document.getElementById('c').insertBefore(newNode, doc.getElementById('b'));
    35   document.getElementById('b').removeAttribute('style');
    36   document.documentElement.removeAttribute("class");
    37 }
    38 setTimeout(doe, 100);
    39 </script>
    40 </html>

mercurial