layout/base/crashtests/536623-1.xhtml

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     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