layout/base/crashtests/536623-1.xhtml

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     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