Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
michael@0 | 1 | <html><head><title>Testcase bug 348126 - Crash [@ nsImageFrame::SourceRectToDest] on reload and removing table-caption styles</title> |
michael@0 | 2 | |
michael@0 | 3 | <script> |
michael@0 | 4 | function removestyles(i){ |
michael@0 | 5 | |
michael@0 | 6 | document.getElementsByTagName('table')[0].removeAttribute('style'); |
michael@0 | 7 | |
michael@0 | 8 | document.getElementsByTagName('object')[0].removeAttribute('style'); |
michael@0 | 9 | |
michael@0 | 10 | document.getElementsByTagName('table')[1].removeAttribute('style'); |
michael@0 | 11 | document.location.reload(); |
michael@0 | 12 | } |
michael@0 | 13 | |
michael@0 | 14 | setTimeout(removestyles,500,0); |
michael@0 | 15 | </script> |
michael@0 | 16 | </head><body> |
michael@0 | 17 | Mozilla should not crash on reload on this page<br> |
michael@0 | 18 | <object><table style="display: table-caption;"> |
michael@0 | 19 | <tbody><tr><td></td></tr></tbody> |
michael@0 | 20 | </table><object style="display: table-caption;"> |
michael@0 | 21 | </object><table style="display: table-row-group;"> |
michael@0 | 22 | <tbody><tr><td> |
michael@0 | 23 | <img src="348126-1.gif"> |
michael@0 | 24 | </td></tr></tbody></table> |
michael@0 | 25 | <img src="348126-1.gif"> |
michael@0 | 26 | </object> |
michael@0 | 27 | |
michael@0 | 28 | </body></html> |