new regression tests not affecting the build.

This commit is contained in:
karnaze%netscape.com 2001-03-25 23:06:50 +00:00
Родитель 1b04939e6f
Коммит ec9cc74b9d
3 изменённых файлов: 72 добавлений и 0 удалений

Просмотреть файл

@ -0,0 +1,25 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Bug 45055 - testcase cellspacing="1"</title>
<style type="text/css">
td { background-color : #cccccc; color : #0000ff; }
body { background-color : #ffffff; color : #000000; }
</style>
</head>
<body>
<table border="0" cellspacing="1" summary="navbar">
<tr><td>Line 1</td></tr>
<tr><td>Line 2</td></tr>
<tr><td>Line 3</td></tr>
<tr><td>Line 4</td></tr>
<tr><td>Line 5</td></tr>
<tr><td>Line 6</td></tr>
<tr><td>Line 7</td></tr>
<tr><td>Line 8</td></tr>
<tr><td>Line 9</td></tr>
<tr><td>Line 10</td></tr>
<tr><td>Line 11</td></tr>
</table>
</body>
</html>

Просмотреть файл

@ -0,0 +1,45 @@
<html>
<body>
<script>
function note() {
var l = document.createElement("div");
l.innerHTML="<s>jmd</s> jtr was here.";
l.setAttribute("id", "popup");
l.style.position = "absolute";
// afaict only 'tr' causes a crash.
// 'td', 'table', 'a1' don't.
document.getElementById('tr').appendChild(l);
}
function closepopup() {
var p = document.getElementById("popup");
if (p && p.parentNode) {
// crashes on following line
p.parentNode.removeChild(p);
}
}
</script>
<a id='a1' href='' onclick=" note(); return false;">note</a>
<a id='a2' href='' onclick="closepopup(); return false;">closepopup</a>
<table id='table' border='1'>
<tr id='tr'>
<!-- this div is just here to demonstrate that the crash
only happens with a dhtml-generated div -->
<div id="popup" style="position:absolute;">
div
</div>
<td id='td'>
table
</td>
</tr>
</table>
</body>
</html>

Просмотреть файл

@ -31,6 +31,7 @@ file:///s|/mozilla/layout/html/tests/table/bugs/bug4385.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug4427.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug4429.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug4501.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug45055.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug4520.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug4523.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug4527.html
@ -51,6 +52,7 @@ file:///s|/mozilla/layout/html/tests/table/bugs/bug4849.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug4849-2.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug50695-1.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug50695-2.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug51140.html
file:///s|/mozilla/layout/html/tests/table/bugs/bug51727.html
delay:=6
file:///s|/mozilla/layout/html/tests/table/bugs/bug5188.html