layout/base/crashtests/348729-1-inner.html

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><head>
     2 <title>Testcase bug - Crash [@ nsRuleNode::GetParentData]</title>
     3 <script>
     4 function addstyles1(){
     5 var x=document.createElementNS('http://www.w3.org/1999/xhtml','style');
     6 x.innerHTML='\
     7 *::first-letter {float: right; }\
     8 ';
     9 document.documentElement.appendChild(x);
    11 setTimeout(removestyles,500);
    12 }
    13 setTimeout(addstyles1,200);
    15 function removestyles(i){
    16 document.getElementsByTagName('tfoot')[0].removeAttribute('style');
    17 document.getElementsByTagName('table')[0].removeAttribute('style');
    19 window.parent.document.documentElement.className = "";
    20 }
    21 </script>
    22 <style>
    23 *::before { content:"before text";}
    24 </style>
    25 </head><body>
    26 <table style="display: block;">
    27 <tbody><tr><td></td></tr></tbody><tfoot style="position: absolute;"></tfoot>
    28 </table>
    29 </body></html>

mercurial