Thu, 15 Jan 2015 21:03:48 +0100
Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)
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>