mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Add crashtests
This commit is contained in:
parent
559babe015
commit
4cce8846a5
22
layout/forms/crashtests/388374-1.xhtml
Normal file
22
layout/forms/crashtests/388374-1.xhtml
Normal 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>
|
25
layout/forms/crashtests/388374-2.html
Normal file
25
layout/forms/crashtests/388374-2.html
Normal 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>
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user