Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
michael@0 | 1 | <html xmlns="http://www.w3.org/1999/xhtml"> |
michael@0 | 2 | <head> |
michael@0 | 3 | |
michael@0 | 4 | <bindings |
michael@0 | 5 | xmlns="http://www.mozilla.org/xbl" |
michael@0 | 6 | xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" |
michael@0 | 7 | xmlns:xbl="http://www.mozilla.org/xbl" |
michael@0 | 8 | xmlns:html="http://www.w3.org/1999/xhtml"> |
michael@0 | 9 | |
michael@0 | 10 | <binding id="qwe"> |
michael@0 | 11 | <content> |
michael@0 | 12 | <xul:label style="-moz-binding: url(#xar)" xbl:inherits="xbl:text=label" flex="1"/> |
michael@0 | 13 | </content> |
michael@0 | 14 | </binding> |
michael@0 | 15 | |
michael@0 | 16 | <binding id="xar"> |
michael@0 | 17 | <content> |
michael@0 | 18 | <html:table><children/></html:table> |
michael@0 | 19 | </content> |
michael@0 | 20 | </binding> |
michael@0 | 21 | |
michael@0 | 22 | </bindings> |
michael@0 | 23 | |
michael@0 | 24 | <script type="text/javascript"> |
michael@0 | 25 | function boom() |
michael@0 | 26 | { |
michael@0 | 27 | document.getElementById("b").setAttribute('label', "1 2 3"); |
michael@0 | 28 | document.documentElement.offsetHeight; |
michael@0 | 29 | document.getElementById("b").removeAttribute('label'); |
michael@0 | 30 | } |
michael@0 | 31 | </script> |
michael@0 | 32 | </head> |
michael@0 | 33 | |
michael@0 | 34 | <body onload="boom();"> |
michael@0 | 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> |
michael@0 | 36 | </body> |
michael@0 | 37 | </html> |