|
1 <html><head><title>Testcase bug 348126 - Crash [@ nsImageFrame::SourceRectToDest] on reload and removing table-caption styles</title> |
|
2 |
|
3 <script> |
|
4 function removestyles(i){ |
|
5 |
|
6 document.getElementsByTagName('table')[0].removeAttribute('style'); |
|
7 |
|
8 document.getElementsByTagName('object')[0].removeAttribute('style'); |
|
9 |
|
10 document.getElementsByTagName('table')[1].removeAttribute('style'); |
|
11 document.location.reload(); |
|
12 } |
|
13 |
|
14 setTimeout(removestyles,500,0); |
|
15 </script> |
|
16 </head><body> |
|
17 Mozilla should not crash on reload on this page<br> |
|
18 <object><table style="display: table-caption;"> |
|
19 <tbody><tr><td></td></tr></tbody> |
|
20 </table><object style="display: table-caption;"> |
|
21 </object><table style="display: table-row-group;"> |
|
22 <tbody><tr><td> |
|
23 <img src="348126-1.gif"> |
|
24 </td></tr></tbody></table> |
|
25 <img src="348126-1.gif"> |
|
26 </object> |
|
27 |
|
28 </body></html> |