dom/xbl/crashtests/404125-1.xhtml

Fri, 16 Jan 2015 18:13:44 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 18:13:44 +0100
branch
TOR_BUG_9701
changeset 14
925c144e1f1f
permissions
-rw-r--r--

Integrate suggestion from review to improve consistency with existing code.

     1 <html xmlns="http://www.w3.org/1999/xhtml" xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
     3 <head>
     5 <bindings xmlns="http://www.mozilla.org/xbl">
     6   <binding id="lc">
     7     <content>
     8       <xul:listcell> t <children/></xul:listcell>
     9     </content>
    10   </binding>
    11 </bindings>
    13 <script>
    14 function boom()
    15 {
    16   var hbox = document.createElementNS("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul", "hbox");
    17   document.getElementById("vv").appendChild(hbox);
    18 }
    19 </script>
    21 </head>
    23 <body onload="boom();">
    25 <div style="-moz-binding: url(#lc);" id="vv"></div>
    27 </body>
    29 </html>

mercurial