Add crashtests

This commit is contained in:
jruderman@hmc.edu 2007-12-16 17:23:03 -08:00
parent 559babe015
commit 4cce8846a5
3 changed files with 49 additions and 0 deletions

View File

@ -0,0 +1,22 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script>
function boom()
{
var newText = document.createTextNode('x');
document.getElementById("a").parentNode.appendChild(newText);
}
</script>
</head>
<body onload="boom()">
<table border="1">
<tr>
<td>1</td>
<td id="a" style="padding-left: 10%"><select style="padding-left: 20%; bottom: 10%;"><option style="padding: 0 0 10% 20%;">pppp</option></select></td>
</tr>
</table>
</body>
</html>

View File

@ -0,0 +1,25 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script>
function boom()
{
var newDiv = document.createElementNS("http://www.w3.org/1999/xhtml", "div");
newDiv.style.width = "100px";
newDiv.style.height = "8px";
newDiv.style.background = "lightgreen";
document.getElementById("tr").appendChild(newDiv);
}
</script>
</head>
<body onload="boom()">
<table border="1">
<tr id="tr">
<td></td>
<td style="padding-left: 10%"><select style="padding-left: 20%; bottom: 10%;"><option style="padding: 0 0 10% 20%; width: 25px;"></option></select></td>
</tr>
</table>
</body>
</html>

View File

@ -10,3 +10,5 @@ load 367587-1.html
load 370940-1.html
load 382610-1.html
load 386554-1.html
load 388374-1.xhtml
load 388374-2.html