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

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/base/crashtests/348126-1-inner.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,28 @@
     1.4 +<html><head><title>Testcase bug 348126 - Crash [@ nsImageFrame::SourceRectToDest] on reload and removing table-caption styles</title>
     1.5 +
     1.6 +<script>
     1.7 +function removestyles(i){
     1.8 +
     1.9 +document.getElementsByTagName('table')[0].removeAttribute('style');
    1.10 +
    1.11 +document.getElementsByTagName('object')[0].removeAttribute('style');
    1.12 +
    1.13 +document.getElementsByTagName('table')[1].removeAttribute('style');
    1.14 +document.location.reload();
    1.15 +}
    1.16 +
    1.17 +setTimeout(removestyles,500,0);
    1.18 +</script>
    1.19 +</head><body>
    1.20 +Mozilla should not crash on reload on this page<br>
    1.21 +<object><table style="display: table-caption;">
    1.22 +<tbody><tr><td></td></tr></tbody>
    1.23 +</table><object style="display: table-caption;">
    1.24 +</object><table style="display: table-row-group;">
    1.25 +<tbody><tr><td>
    1.26 +<img src="348126-1.gif">
    1.27 +</td></tr></tbody></table>
    1.28 +<img src="348126-1.gif">
    1.29 +</object>
    1.30 +
    1.31 +</body></html>
    1.32 \ No newline at end of file

mercurial