mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bug 348126 - crash test by Martijn Wargers.
This commit is contained in:
parent
8fa2e46b7a
commit
2cec0a1646
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