This commit is contained in:
jruderman%hmc.edu 2007-12-16 05:21:02 +00:00
Родитель 3bfb2dec16
Коммит 9660581ca8
4 изменённых файлов: 67 добавлений и 0 удалений

Просмотреть файл

@ -0,0 +1,37 @@
<html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait">
<head>
<script>
function boom1()
{
var c = document.getElementById("c");
c.style.MozBinding = "url('#foo')";
setTimeout(boom2, 30);
}
function boom2()
{
var v = document.getElementById("v");
v.parentNode.removeChild(v);
document.documentElement.removeAttribute("class");
}
</script>
<bindings xmlns="http://www.mozilla.org/xbl"><binding id="foo">
<content>x x x x x <children/></content>
</binding></bindings>
</head>
<body style="font-family: monospace; width: 10ch;" onload="setTimeout(boom1, 30);">
<div style="background: lightblue; border: 1px solid blue; margin-bottom: 1em;">
<span id="c">y y<span id="v">Z<div/></span></span>
</div>
<div style="background: lightgreen; border: 1px solid green; height: 2000px;">s</div>
</body>
</html>

Просмотреть файл

@ -0,0 +1,27 @@
<html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait">
<head>
<script>
function boom()
{
var v = document.getElementById("v");
v.parentNode.removeChild(v);
document.documentElement.removeAttribute("class");
}
</script>
<bindings xmlns="http://www.mozilla.org/xbl"><binding id="foo">
<content>x x x x x <children/></content>
</binding></bindings>
</head>
<body onload="setTimeout(boom, 30);">
<div style="background: lightblue; border: 1px solid blue; width: 300px">
<span style="-moz-binding: url(#foo);" >y y<span id="v">Z<div/></span></span>
</div>
</body>
</html>

Просмотреть файл

@ -0,0 +1,2 @@
load 382376-1.xhtml
load 382376-2.xhtml

Просмотреть файл

@ -7,6 +7,7 @@ include ../../content/base/crashtests/crashtests.list
include ../../content/html/document/crashtests/crashtests.list
include ../../content/svg/content/src/crashtests/crashtests.list
include ../../content/xml/document/crashtests/crashtests.list
include ../../content/xbl/crashtests/crashtests.list
include ../../content/xul/templates/src/crashtests/crashtests.list
include ../../content/xul/content/crashtests/crashtests.list