Bug 812879 - Crash tests.

This commit is contained in:
Jesse Ruderman 2014-07-18 17:01:55 +00:00
parent d1dc2c1031
commit d38b8dc96c
3 changed files with 43 additions and 0 deletions

View 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>

View 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>

View File

@ -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