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.
1 <?xml version="1.0"?>
2 <!-- This Source Code Form is subject to the terms of the Mozilla Public
3 - License, v. 2.0. If a copy of the MPL was not distributed with this
4 - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
7 <bindings id="resizerBindings"
8 xmlns="http://www.mozilla.org/xbl">
10 <binding id="resizer">
11 <resources>
12 <stylesheet src="chrome://global/skin/resizer.css"/>
13 </resources>
14 <implementation>
15 <constructor>
16 <![CDATA[
17 // don't do this for viewport resizers; causes a crash related to
18 // bugs 563665 and 581536 otherwise
19 if (this.parentNode == this.ownerDocument.documentElement)
20 return;
22 // if the direction is rtl, set the rtl attribute so that the
23 // stylesheet can use this to make the cursor appear properly
24 var direction = window.getComputedStyle(this, "").direction;
25 if (direction == "rtl") {
26 this.setAttribute("rtl", "true");
27 }
28 ]]>
29 </constructor>
30 </implementation>
31 </binding>
33 </bindings>