зеркало из https://github.com/mozilla/pjs.git
Add crashtests
This commit is contained in:
Родитель
58097b525f
Коммит
0b345994f6
|
@ -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>
|
|
@ -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>
|
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче