|
1 <html class="reftest-wait"><head> |
|
2 <title>Testcase bug - Crash [@ nsIFrame::Invalidate] with display: inherit, large margin and padding and generated content</title> |
|
3 <script> |
|
4 function addstyle(){ |
|
5 var x=document.createElementNS('http://www.w3.org/1999/xhtml','style'); |
|
6 x.innerHTML='body::before {content: "text"; }'; |
|
7 document.documentElement.appendChild(x); |
|
8 document.documentElement.offsetHeight; |
|
9 document.documentElement.removeAttribute("class"); |
|
10 } |
|
11 </script> |
|
12 |
|
13 </head> |
|
14 <body onload="setTimeout(addstyle,0);"> |
|
15 <div style="display: table;"> |
|
16 <div style="display: inherit;float: left;margin-bottom: -9999999px;padding-top: 9999999999px;"> |
|
17 <span style="position: fixed;">t</span> |
|
18 </div> |
|
19 </div> |
|
20 </body></html> |