зеркало из https://github.com/mozilla/gecko-dev.git
Adding crashtests for bug 391178
This commit is contained in:
Родитель
253c846b79
Коммит
61a8268afb
|
@ -0,0 +1,41 @@
|
|||
<html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait">
|
||||
<head>
|
||||
<script>
|
||||
|
||||
var ccc;
|
||||
|
||||
function boom()
|
||||
{
|
||||
var XUL_NS = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";
|
||||
|
||||
var hbox = document.createElementNS(XUL_NS, 'hbox');
|
||||
var tree = document.createElementNS(XUL_NS, 'tree');
|
||||
var treecol = document.createElementNS(XUL_NS, 'treecol');
|
||||
|
||||
ccc = document.getElementById("ccc");
|
||||
|
||||
ccc.style.position = "fixed";
|
||||
|
||||
hbox.appendChild(treecol);
|
||||
tree.appendChild(hbox);
|
||||
ccc.appendChild(tree);
|
||||
|
||||
setTimeout(boom2, 200);
|
||||
}
|
||||
|
||||
function boom2()
|
||||
{
|
||||
ccc.style.position = "";
|
||||
document.documentElement.removeAttribute("class");
|
||||
}
|
||||
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body onload="boom();">
|
||||
|
||||
<div id="ccc">
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,20 @@
|
|||
<?xml-stylesheet href="chrome://browser/skin/" type="text/css"?>
|
||||
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" xmlns:html="http://www.w3.org/1999/xhtml" class="reftest-wait">
|
||||
|
||||
<tree id="a" style="position: fixed;">
|
||||
<box style=" display: -moz-box; position: fixed;">
|
||||
<treecol style=" display: -moz-box;"/>
|
||||
</box>
|
||||
<box style="position: fixed;">
|
||||
<treechildren style="display: -moz-box; position: absolute;"/>
|
||||
</box>
|
||||
</tree>
|
||||
|
||||
<script xmlns="http://www.w3.org/1999/xhtml">
|
||||
function removestyles(){
|
||||
document.getElementById('a').removeAttribute('style');
|
||||
document.documentElement.removeAttribute("class");
|
||||
}
|
||||
setTimeout(removestyles, 100);
|
||||
</script>
|
||||
</window>
|
|
@ -3,6 +3,8 @@ load 309732-1.xul
|
|||
load 309732-2.xul
|
||||
load 366583-1.xul
|
||||
load 380217-1.xul
|
||||
load 391178-1.xhtml
|
||||
load 391178-2.xul
|
||||
load 393665-1.xul
|
||||
load 399227-1.xul
|
||||
load 399227-2.xul
|
||||
|
|
Загрузка…
Ссылка в новой задаче