layout/base/crashtests/536623-1.xhtml

Fri, 16 Jan 2015 04:50:19 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 04:50:19 +0100
branch
TOR_BUG_9701
changeset 13
44a2da4a2ab2
permissions
-rw-r--r--

Replace accessor implementation with direct member state manipulation, by
request https://trac.torproject.org/projects/tor/ticket/9701#comment:32

     1 <html xmlns="http://www.w3.org/1999/xhtml">
     2 <head>
     4 <bindings
     5   xmlns="http://www.mozilla.org/xbl"
     6   xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
     7   xmlns:xbl="http://www.mozilla.org/xbl"
     8   xmlns:html="http://www.w3.org/1999/xhtml">
    10   <binding id="qwe">
    11     <content>
    12       <xul:label style="-moz-binding: url(#xar)" xbl:inherits="xbl:text=label" flex="1"/>
    13     </content>
    14   </binding>
    16   <binding id="xar">
    17     <content>
    18       <html:table><children/></html:table>
    19     </content>
    20   </binding>
    22 </bindings>
    24 <script type="text/javascript">
    25 function boom()
    26 {
    27   document.getElementById("b").setAttribute('label', "1 2 3");
    28   document.documentElement.offsetHeight;
    29   document.getElementById("b").removeAttribute('label');
    30 }
    31 </script>
    32 </head>
    34 <body onload="boom();">
    35 <div style="width: 0px;"><box id="b" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" style="-moz-binding: url(#qwe);"/></div>
    36 </body>
    37 </html>

mercurial