mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 812879 - Crash tests.
This commit is contained in:
parent
d1dc2c1031
commit
d38b8dc96c
35
layout/generic/crashtests/812879-2.html
Normal file
35
layout/generic/crashtests/812879-2.html
Normal file
@ -0,0 +1,35 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<script>
|
||||
|
||||
function boom()
|
||||
{
|
||||
var table = document.createElement("table");
|
||||
var tbody = document.createElement("tbody");
|
||||
var td = document.createElement("td");
|
||||
tbody.appendChild(td);
|
||||
table.appendChild(tbody);
|
||||
document.body.appendChild(table);
|
||||
td.style.marginTop = "126102421%";
|
||||
td.style.marginLeft = "126102421%";
|
||||
td.style.cssFloat = "right";
|
||||
td.style.pageBreakInside = "avoid";
|
||||
|
||||
document.documentElement.offsetHeight;
|
||||
|
||||
tbody.style.overflowX = "hidden";
|
||||
|
||||
document.documentElement.offsetHeight;
|
||||
|
||||
document.body.style.MozColumns = "auto";
|
||||
tbody.style.color = "red";
|
||||
|
||||
document.documentElement.offsetHeight;
|
||||
}
|
||||
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body onload="boom();"></body>
|
||||
</html>
|
6
layout/generic/crashtests/812879.html
Normal file
6
layout/generic/crashtests/812879.html
Normal file
@ -0,0 +1,6 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<body onload="document.getElementById('x').style.overflowX = 'hidden';">
|
||||
<table><tbody id="x"><tr><td style="margin-top: 126102421%; margin-right: 126102421%; float: right; page-break-inside: avoid;"></td></tr></tbody></table>
|
||||
</body>
|
||||
</html>
|
@ -494,6 +494,8 @@ load 804089-1.xhtml
|
||||
load 807565-1.html
|
||||
load 807565-2.html
|
||||
load 810726.html
|
||||
load 812879.html
|
||||
load 812879-2.html
|
||||
load 825810-1.html
|
||||
load 825810-2.html
|
||||
load 827076.html
|
||||
|
Loading…
Reference in New Issue
Block a user