diff options
author | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
---|---|---|
committer | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
commit | 5f8de423f190bbb79a62f804151bc24824fa32d8 (patch) | |
tree | 10027f336435511475e392454359edea8e25895d /layout/reftests/bugs/309914-1.xul | |
parent | 49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff) | |
download | UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip |
Add m-esr52 at 52.6.0
Diffstat (limited to 'layout/reftests/bugs/309914-1.xul')
-rw-r--r-- | layout/reftests/bugs/309914-1.xul | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/layout/reftests/bugs/309914-1.xul b/layout/reftests/bugs/309914-1.xul new file mode 100644 index 000000000..c148b05af --- /dev/null +++ b/layout/reftests/bugs/309914-1.xul @@ -0,0 +1,45 @@ +<?xml version="1.0"?>
+<?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?>
+
+<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
+ class="reftest-wait">
+
+<hbox style="display: none">
+ <bindings id="testBindings" xmlns="http://www.mozilla.org/xbl"
+ xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
+
+ <binding id="testBinding" >
+ <content>
+ <xul:label value="anon label"/>
+ <children/>
+ </content>
+ </binding>
+ </bindings>
+</hbox>
+<script>
+<![CDATA[
+var cont;
+
+window.onload = function() {
+ const XUL_NS = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";
+ cont = document.getElementById("container");
+
+ for(var i=0; i<2; i++) {
+ var item = document.createElementNS(XUL_NS, "button");
+ cont.appendChild(item);
+ item.label = i;
+ }
+
+ document.documentElement.getBoundingClientRect();
+
+ var item = cont.firstChild;
+ //alert(item.label);
+ cont.insertBefore(item.nextSibling, item);
+ document.documentElement.removeAttribute("class");
+}
+]]>
+</script>
+
+<hbox id="container" style="-moz-binding: url('#testBinding');"/>
+
+</window>
|