mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
bug 348126 - crash test by Martijn Wargers.
This commit is contained in:
parent
8929eb90cd
commit
216ea9541c
28
layout/base/crashtests/348126-1-inner.html
Normal file
28
layout/base/crashtests/348126-1-inner.html
Normal file
@ -0,0 +1,28 @@
|
||||
<html><head><title>Testcase bug 348126 - Crash [@ nsImageFrame::SourceRectToDest] on reload and removing table-caption styles</title>
|
||||
|
||||
<script>
|
||||
function removestyles(i){
|
||||
|
||||
document.getElementsByTagName('table')[0].removeAttribute('style');
|
||||
|
||||
document.getElementsByTagName('object')[0].removeAttribute('style');
|
||||
|
||||
document.getElementsByTagName('table')[1].removeAttribute('style');
|
||||
document.location.reload();
|
||||
}
|
||||
|
||||
setTimeout(removestyles,500,0);
|
||||
</script>
|
||||
</head><body>
|
||||
Mozilla should not crash on reload on this page<br>
|
||||
<object><table style="display: table-caption;">
|
||||
<tbody><tr><td></td></tr></tbody>
|
||||
</table><object style="display: table-caption;">
|
||||
</object><table style="display: table-row-group;">
|
||||
<tbody><tr><td>
|
||||
<img src="348126-1.gif">
|
||||
</td></tr></tbody></table>
|
||||
<img src="348126-1.gif">
|
||||
</object>
|
||||
|
||||
</body></html>
|
BIN
layout/base/crashtests/348126-1.gif
Normal file
BIN
layout/base/crashtests/348126-1.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 980 B |
9
layout/base/crashtests/348126-1.html
Normal file
9
layout/base/crashtests/348126-1.html
Normal file
@ -0,0 +1,9 @@
|
||||
<html class="reftest-wait">
|
||||
<head>
|
||||
<script>
|
||||
setTimeout('document.documentElement.className = ""', 1000);
|
||||
</script>
|
||||
<body>
|
||||
<iframe src="348126-1-inner.html"></iframe>
|
||||
</body>
|
||||
</html>
|
@ -99,6 +99,7 @@ load 344300-1.html
|
||||
load 344300-2.html
|
||||
load 344340-1.xul
|
||||
load 347898-1.html
|
||||
load 348126-1.html
|
||||
load 348688-1.html
|
||||
load 348708-1.xhtml
|
||||
load 349095-1.xhtml
|
||||
|
Loading…
Reference in New Issue
Block a user