Add crashtests
git-svn-id: svn://10.0.0.236/trunk@241518 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
b524f4f39e
commit
909a6c9e76
21
mozilla/layout/tables/crashtests/368166-1.xhtml
Normal file
21
mozilla/layout/tables/crashtests/368166-1.xhtml
Normal file
@ -0,0 +1,21 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
|
||||
<head>
|
||||
<script>
|
||||
|
||||
function boom()
|
||||
{
|
||||
var doomed = document.getElementById("doomed");
|
||||
doomed.parentNode.removeChild(doomed);
|
||||
}
|
||||
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body onload="boom()">
|
||||
|
||||
<table><tbody><tr><td id="doomed" rowspan="3"></td></tr></tbody><div/></table>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
41
mozilla/layout/tables/crashtests/370876-1.html
Normal file
41
mozilla/layout/tables/crashtests/370876-1.html
Normal file
@ -0,0 +1,41 @@
|
||||
<html class="reftest-wait">
|
||||
<head>
|
||||
<script>
|
||||
|
||||
function boom()
|
||||
{
|
||||
var a = document.getElementById("a");
|
||||
var b = document.getElementById("b");
|
||||
var x = document.getElementById("x");
|
||||
|
||||
a.parentNode.insertBefore(x, a);
|
||||
x.parentNode.removeChild(x);
|
||||
b.parentNode.removeChild(b);
|
||||
|
||||
document.documentElement.removeAttribute("class");
|
||||
}
|
||||
|
||||
</script>
|
||||
</head>
|
||||
|
||||
|
||||
<body onload="setTimeout(boom, 30);">
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td id="x">X</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table border="1" style="border-collapse: collapse;">
|
||||
<tr>
|
||||
<td id="a">A</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td id="b" colspan="2">B</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
@ -13,6 +13,8 @@ load 358679-1.xhtml
|
||||
load 358871-1.xhtml
|
||||
load 364512-1.html
|
||||
load 367673-1.xhtml
|
||||
load 368166-1.xhtml
|
||||
load 370876-1.html
|
||||
load 379687-1.html
|
||||
load 387051-1.html
|
||||
load 391898-1.html
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user