layout/reftests/bugs/486848-1.xul

Thu, 15 Jan 2015 15:55:04 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 15:55:04 +0100
branch
TOR_BUG_9701
changeset 9
a63d609f5ebe
permissions
-rw-r--r--

Back out 97036ab72558 which inappropriately compared turds to third parties.

     1 <?xml version="1.0"?>
     3 <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
     5 <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
     6 	onload="boom();">
     8 <script type="text/javascript">
    10 function boom()
    11 {
    12   var c = document.getElementById("c");
    13   var n = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul", "listitem");
    14   n.textContent = "b";
    15   c.parentNode.insertBefore(n, c);
    16 }
    18 </script>
    20 <listbox id="listbox">
    21   <listitem id="a">a</listitem>
    22   <listitem id="c">c</listitem>
    23 </listbox>
    25 </window>

mercurial