Add crashtests

This commit is contained in:
jruderman@hmc.edu 2008-02-03 21:24:15 -08:00
parent 054f7cc95b
commit f237d6dcc5
3 changed files with 76 additions and 0 deletions

View File

@ -0,0 +1,29 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<bindings xmlns="http://www.mozilla.org/xbl"><binding id="empty"><content></content></binding></bindings>
<style>
.bef:before { content: counter(c); }
.fl:first-letter { }
</style>
<script>
function boom()
{
document.getElementById("xblize").style.MozBinding = "url('#empty')";
}
</script>
</head>
<body onload="boom();">
<div class="fl"><span class="bef" id="xblize"></span><span class="bef"></span></div>
</body>
</html>

View File

@ -0,0 +1,45 @@
<html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait">
<head>
<bindings xmlns="http://www.mozilla.org/xbl"><binding id="empty"><content></content></binding></bindings>
<style>
.bef:before { content: counter(c); }
.fl:first-letter { }
</style>
<script>
var xblize, div;
function boom()
{
xblize = document.getElementById("xblize");
div = document.getElementById("div");
xblize.style.MozBinding = "url('#empty')";
// Give the XBL extra time to settle
setTimeout(boom2, 200);
}
function boom2()
{
div.removeChild(xblize);
div.appendChild(xblize);
document.documentElement.removeAttribute("class");
}
</script>
</head>
<body onload="boom();">
<div class="fl" id="div"><span class="bef" id="xblize"></span><span class="bef"></span></div>
</body>
</html>

View File

@ -19,6 +19,8 @@ load 369216-1.html
load 371466-1.xhtml
load 386000-1.html
load 386794-1.html
load 395469-1.xhtml
load 395469-2.xhtml
load 399712-1.html
load 407818.html
load 410860-1.xml