зеркало из https://github.com/mozilla/gecko-dev.git
Adding test
This commit is contained in:
Родитель
78638d1cf3
Коммит
67312863f7
|
@ -0,0 +1,7 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
|
||||
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
||||
<label>After</label>
|
||||
</window>
|
||||
|
|
@ -0,0 +1,43 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
|
||||
|
||||
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||
onload="setTimeout(boom, 1000)"
|
||||
class="reftest-wait">
|
||||
|
||||
<hbox style="display: none">
|
||||
<bindings xmlns="http://www.mozilla.org/xbl"
|
||||
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
||||
<binding id="foo">
|
||||
<content>
|
||||
<xul:hbox
|
||||
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
||||
<xul:label>After</xul:label>
|
||||
</xul:hbox>
|
||||
<xul:hbox style="display:none">
|
||||
<children/>
|
||||
</xul:hbox>
|
||||
</content>
|
||||
<implementation>
|
||||
<constructor>
|
||||
window.setTimeout(finish, 1000);
|
||||
</constructor>
|
||||
</implementation>
|
||||
</binding>
|
||||
</bindings>
|
||||
</hbox>
|
||||
|
||||
<script>
|
||||
function boom()
|
||||
{
|
||||
document.documentElement.style.MozBinding = "url('#foo')";
|
||||
}
|
||||
function finish()
|
||||
{
|
||||
document.documentElement.removeAttribute("class");
|
||||
}
|
||||
</script>
|
||||
<label>Before</label>
|
||||
</window>
|
||||
|
|
@ -280,6 +280,7 @@ fails == 352980-1h.html 352980-1-ref.html
|
|||
== 364861-1.html 364861-1-ref.html
|
||||
== 364862-1.html 364862-1-ref.html
|
||||
== 365173-1.html 365173-1-ref.html
|
||||
== 366207-1.xul 366207-1-ref.xul
|
||||
== 366616-1.xul 366616-1-ref.xul
|
||||
== 367220-1.html 367220-1-ref.html
|
||||
== 367247-s-visible.html 367247-s-hidden.html
|
||||
|
|
Загрузка…
Ссылка в новой задаче