1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/bugs/486848-1.xul Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,25 @@ 1.4 +<?xml version="1.0"?> 1.5 + 1.6 +<?xml-stylesheet href="chrome://global/skin/" type="text/css"?> 1.7 + 1.8 +<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" 1.9 + onload="boom();"> 1.10 + 1.11 +<script type="text/javascript"> 1.12 + 1.13 +function boom() 1.14 +{ 1.15 + var c = document.getElementById("c"); 1.16 + var n = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul", "listitem"); 1.17 + n.textContent = "b"; 1.18 + c.parentNode.insertBefore(n, c); 1.19 +} 1.20 + 1.21 +</script> 1.22 + 1.23 +<listbox id="listbox"> 1.24 + <listitem id="a">a</listitem> 1.25 + <listitem id="c">c</listitem> 1.26 +</listbox> 1.27 + 1.28 +</window>