layout/base/crashtests/536623-1.xhtml

changeset 0
6474c204b198
equal deleted inserted replaced
-1:000000000000 0:e2fbbe6a3da3
1 <html xmlns="http://www.w3.org/1999/xhtml">
2 <head>
3
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">
9
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>
15
16 <binding id="xar">
17 <content>
18 <html:table><children/></html:table>
19 </content>
20 </binding>
21
22 </bindings>
23
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>
33
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