зеркало из https://github.com/mozilla/gecko-dev.git
Add a bunch of -moz-column crashtests
This commit is contained in:
Родитель
cc13d7d5c0
Коммит
26e1077db1
|
@ -0,0 +1,17 @@
|
|||
<html style="white-space: pre; -moz-column-count: 2;">
|
||||
<head></head>
|
||||
|
||||
<body onload="document.body.style.MozFloatEdge = 'margin-box'" style="-moz-column-width: 20em;">
|
||||
|
||||
<div style="position: relative; height: 80px; margin: 10px;">
|
||||
|
||||
|
||||
|
||||
|
||||
<div style="position: absolute; height: 11px; top: 19px;"></div>
|
||||
</div>
|
||||
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
|
@ -0,0 +1,23 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<style type="text/css">
|
||||
|
||||
body { width: 500px; -moz-column-count: 2; }
|
||||
body:first-letter { float: right; }
|
||||
#s { padding: 0pt 200px; }
|
||||
|
||||
</style>
|
||||
<script type="text/javascript">
|
||||
|
||||
function boom()
|
||||
{
|
||||
document.getElementById("s").appendChild(document.createElement("span"));
|
||||
}
|
||||
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body onload="boom();">x <span id="s"></span></body>
|
||||
|
||||
</html>
|
|
@ -0,0 +1,28 @@
|
|||
<html>
|
||||
<head>
|
||||
<style>
|
||||
div:first-letter {
|
||||
float: left;
|
||||
background: orange;
|
||||
}
|
||||
/* Note: there's an upper-bound on widths that trigger a crash.
|
||||
This bound depends on the width of the characters in the div. */
|
||||
div#v {
|
||||
-moz-column-count: 2;
|
||||
width: 30px;
|
||||
height: 1em;
|
||||
background: lightblue;
|
||||
}
|
||||
</style>
|
||||
<script>
|
||||
function boom() {
|
||||
var v = document.getElementById("v");
|
||||
// Note: This seems to crash regardless of what the text node is;
|
||||
// e.g. it can be the empty string, a space character, or any number of
|
||||
// other characters.
|
||||
v.appendChild(document.createTextNode("CRASH"));
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body onload="boom();"><div id="v">a b</div></body>
|
||||
</html>
|
|
@ -0,0 +1,19 @@
|
|||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<script type="text/javascript">
|
||||
|
||||
function boom()
|
||||
{
|
||||
var y = document.createTextNode(' Y ');
|
||||
document.getElementById("a").appendChild(y);
|
||||
document.body.offsetHeight;
|
||||
var z = document.createTextNode('Z');
|
||||
document.body.insertBefore(z, document.body.lastChild);
|
||||
}
|
||||
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body onload="boom();"><div style="-moz-column-count: 2; width: 1px;"><div id="a">M N矋<span>م</span></div></div>H</body>
|
||||
</html>
|
|
@ -0,0 +1,28 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<style type="text/css">
|
||||
|
||||
div { height: 1px; }
|
||||
|
||||
</style>
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
function boom()
|
||||
{
|
||||
var a = document.getElementById("a");
|
||||
a.removeChild(a.firstChild);
|
||||
document.documentElement.style.outline = "none";
|
||||
}
|
||||
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body onload="boom();">
|
||||
|
||||
<div style="-moz-column-count: 2;" id="a"><div><div style="float: right;"><div></div><span><div></div></span></div></div></div>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
|
@ -0,0 +1,10 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
</head>
|
||||
<body onload="document.getElementById('x').appendChild(document.createTextNode('b'));">
|
||||
|
||||
<div style="display: -moz-grid;"><div style="-moz-column-count: 2;">a<div id="x" style="padding: 1em;"></div><wbr></div></div>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,18 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<style type="text/css">
|
||||
|
||||
#colset { -moz-column-count: 2; outline: 1px solid orange; }
|
||||
.ib { height: 100px; display: inline-block; outline: 1px solid blue; }
|
||||
div { outline: 1px solid green; }
|
||||
span { outline: 1px solid magenta; }
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div id="colset"><div></div><div style="width: 10px; float: left;"><span> <span class="ib" style="width: 30px;"></span> <br> </span></div><span class="ib"></span></div>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,33 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<script type="text/javascript">
|
||||
|
||||
function boom()
|
||||
{
|
||||
document.getElementById("hr").removeAttribute("width");
|
||||
|
||||
document.documentElement.offsetHeight;
|
||||
|
||||
var newTR = document.createElement("tr");
|
||||
document.getElementById("table").appendChild(newTR);
|
||||
}
|
||||
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body onload="boom()">
|
||||
|
||||
<table id="table">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<div><hr width="7000" id="hr"></div>
|
||||
<div style="-moz-column-width: 100px;">x<li></li></div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1 @@
|
|||
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"><hbox style="display: block; -moz-column-count: 15;"><scrollbar height="656119391073809204" style="position: fixed; -moz-appearance: tooltip;"/></hbox></window>
|
|
@ -0,0 +1,26 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<style type="text/css">
|
||||
|
||||
body { font-family: monospace; width: 10ch; outline: 1px solid black; }
|
||||
div { -moz-column-width: 0.4px; -moz-column-gap: 3ch; }
|
||||
b { font-weight: inherit; display: inline-block; }
|
||||
#r { border: 1px solid red; }
|
||||
#r:before { content: ""; }
|
||||
|
||||
</style>
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
function boom()
|
||||
{
|
||||
document.getElementById("r").style.counterReset = "c";
|
||||
}
|
||||
</script>
|
||||
|
||||
</head>
|
||||
|
||||
<body onload="boom();"><div>a b c d <span> <b>m</b><span id="r"><b>x</b><span></span></span></span> </div></body>
|
||||
|
||||
</html>
|
|
@ -0,0 +1,5 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head></head>
|
||||
<body style="float: right; height: 2px;" onload="document.body.style.width = '0';"><div style="-moz-column-count: 3;"><div style="padding: 268435457mm;">A B C D</div></div></body>
|
||||
</html>
|
|
@ -0,0 +1,24 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<style type="text/css">
|
||||
|
||||
div:first-line { }
|
||||
|
||||
</style>
|
||||
<script type="text/javascript">
|
||||
|
||||
function boom()
|
||||
{
|
||||
document.getElementById("a").style.MozColumnWidth = "21120690815in";
|
||||
document.getElementById("s").style.cursor = "pointer";
|
||||
}
|
||||
|
||||
</script>
|
||||
</head>
|
||||
<body onload="boom();">
|
||||
|
||||
<div id="a">A<div style="padding-top: 1px"> <input> <span id="s"></span></div></div>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,19 @@
|
|||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<script type="text/javascript">
|
||||
|
||||
function boom()
|
||||
{
|
||||
document.getElementById("k").style.position = "fixed";
|
||||
document.documentElement.offsetHeight;
|
||||
document.getElementById("g").style.textAlign = "";
|
||||
}
|
||||
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body onload="boom();">
|
||||
<div style="text-align: right;" id="g"><div style="direction: rtl; max-width: -moz-fit-content;"><div style="-moz-column-width: 1px;">A B<hr/>C D <input/><hr/></div><div id="k"><div style="width: 150px; float: right;"/><div style="width: 100px; float: right;"/></div><div style="padding-left: 40px;"/></div></div>
|
||||
</body>
|
||||
|
||||
</html>
|
|
@ -0,0 +1,32 @@
|
|||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<style id="ss" type="text/css">
|
||||
|
||||
#o {
|
||||
height: 65px;
|
||||
}
|
||||
|
||||
</style>
|
||||
<script type="text/javascript">
|
||||
|
||||
function boom()
|
||||
{
|
||||
document.getElementById("ss").disabled = true;
|
||||
document.documentElement.offsetHeight;
|
||||
document.getElementById("ss").disabled = false;
|
||||
}
|
||||
|
||||
</script>
|
||||
</head>
|
||||
<body onload="boom();">
|
||||
|
||||
<div style="-moz-column-width: 0;">
|
||||
<colgroup></colgroup>
|
||||
<div>
|
||||
<div id="o" style="float: left;"></div>
|
||||
<div style="clear: both;">A B<div style="float: left;"></div></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,28 @@
|
|||
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:m="http://www.w3.org/1998/Math/MathML">
|
||||
<head>
|
||||
<script type="text/javascript">
|
||||
|
||||
function boom()
|
||||
{
|
||||
var m = document.getElementById("m");
|
||||
m.parentNode.removeChild(m);
|
||||
document.getElementById("s").appendChild(document.createTextNode("c"));
|
||||
}
|
||||
|
||||
</script>
|
||||
</head>
|
||||
<body onload="boom();">
|
||||
|
||||
<m:mrow>
|
||||
<span>
|
||||
<m:msup id="m"/>
|
||||
<div style="-moz-column-width: 1px;">
|
||||
<m:munderover/>
|
||||
<m:msqrt/>
|
||||
</div>
|
||||
</span>
|
||||
<span id="s"></span>
|
||||
</m:mrow>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,17 @@
|
|||
<html>
|
||||
<head>
|
||||
<script type="text/javascript">
|
||||
function bounce()
|
||||
{
|
||||
var b = document.body;
|
||||
var dE = document.documentElement;
|
||||
dE.removeChild(b);
|
||||
dE.offsetHeight;
|
||||
dE.appendChild(b)
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body onload="bounce();">
|
||||
<table><tbody><tr><td><div style="-moz-column-count: 2;"><div><span style="font-size: 91735350in;"><table><tbody><tr><td></td></tr></tbody></table><div><p><select></select></p><table><tbody><tr><td></td></tr></tbody></table></div></span></div><div style="height: 300px;"></div></div></td></tr></tbody><thead></thead></table>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,61 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<style type="text/css">
|
||||
|
||||
#v {
|
||||
-moz-column-count: 2;
|
||||
direction: rtl;
|
||||
white-space: pre-wrap;
|
||||
word-wrap: break-word;
|
||||
text-transform: capitalize;
|
||||
letter-spacing: 163851344580570600em;
|
||||
}
|
||||
|
||||
#v:first-letter { }
|
||||
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="v">
|
||||
|
||||
#xxx {
|
||||
xxxxxxxx: xxxxxxxx;
|
||||
xxxxxxxxxx-xxxxx: xxxx;
|
||||
xxx: xxxx;
|
||||
xxxx: xxxx;
|
||||
xxxxx: xxxxx;
|
||||
xxxxxx: xxxxx;
|
||||
}
|
||||
|
||||
#xxxxx {
|
||||
xxxxxxxx: xxxxxxxx;
|
||||
xxxxxxxxxx-xxxxx: xxxx;
|
||||
xxx: xxxx;
|
||||
xxxxx: xxxx;
|
||||
xxxxx: xxxx;
|
||||
xxxxxx: xxxxx;
|
||||
}
|
||||
|
||||
#xxxx {
|
||||
xxxxxxxx: xxxxxxxx;
|
||||
xxxxxxxxxx-xxxxx: xxxx;
|
||||
xxxx: xxxx;
|
||||
xxxxxx: xxxx;
|
||||
xxxxx: xxxxx;
|
||||
xxxxxx: xxxx;
|
||||
}
|
||||
|
||||
#xxxxxx {
|
||||
xxxxxxxx: xxxxxxxx;
|
||||
xxxxxxxxxx-xxxxx: xxxx;
|
||||
xxxxx: xxxx;
|
||||
xxxxx: xxxx;
|
||||
xxxxxx: xxxx;
|
||||
xxxxxx: xxxx;
|
||||
}
|
||||
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -156,6 +156,7 @@ load 410232-1.html
|
|||
load 411213-1.html
|
||||
load 411213-2.xml
|
||||
load 411851-1.html
|
||||
load 412014-1.html
|
||||
load 412201-1.xhtml
|
||||
load 412543-1.html
|
||||
load 413048-1.html
|
||||
|
@ -171,6 +172,8 @@ load 414719-1.html
|
|||
load 415685-1.html
|
||||
load 416264-1.html
|
||||
load 416476-1.html
|
||||
load 417902-1.html
|
||||
load 417902-2.html
|
||||
load 418532-1.html
|
||||
load 418932-1.html
|
||||
load 421404-1.html
|
||||
|
@ -178,25 +181,34 @@ load 421671.html
|
|||
load 422283-1.html
|
||||
load 422301-1.html
|
||||
load 423055-1.html
|
||||
load 423264-1.html
|
||||
load 425253-1.html
|
||||
load 426040-1.html
|
||||
load 426272-1.html
|
||||
load 428263-1.html
|
||||
load 429969-1.html
|
||||
load 429981-1.html
|
||||
load 430352-1.html
|
||||
load 430744-1.html
|
||||
load 431260-1.html
|
||||
load 431260-2.html
|
||||
load 435529.html
|
||||
load 436194-1.html
|
||||
load 436602-1.html
|
||||
load 436823.html
|
||||
load 436969-1.html
|
||||
load 437156-1.html
|
||||
load 438259-1.html
|
||||
load 438266-1.html
|
||||
load 438509-1.html
|
||||
load 442860-1.xul
|
||||
load 443528-1.html
|
||||
load 444726-1.xhtml
|
||||
load 445288.html
|
||||
load 448903-1.html
|
||||
load 448996-1.html
|
||||
load 451315-1.html
|
||||
load 451317-1.html
|
||||
load 451334-1.html
|
||||
load 452157-1.html
|
||||
load 452157-2.html
|
||||
|
@ -204,16 +216,21 @@ load 452157-3.html
|
|||
load 455171-1.html
|
||||
load 455171-2.html
|
||||
load 455171-3.html
|
||||
load 455643-1.xhtml
|
||||
load 457375.html
|
||||
load 457380-1.html
|
||||
load 463741-1.html
|
||||
load 465651-1.html
|
||||
load 467487-1.html
|
||||
load 468207-1.html
|
||||
load 469859-1.xhtml
|
||||
load 472587-1.xhtml
|
||||
load 472774-1.html
|
||||
load 472776-1.html
|
||||
load 472950-1.html
|
||||
load 477928.html
|
||||
load 478170-1.html
|
||||
load 478185-1.html
|
||||
load 479938-1.html
|
||||
load 480345-1.html
|
||||
load 494332-1.html
|
||||
|
|
Загрузка…
Ссылка в новой задаче