Debian Codegraph @

inst/output/runtime/styles/xp/gecko.xml

raw
1 <?xml version="1.0"?>
2 <bindings id="activeui"
3 xmlns="http://www.mozilla.org/xbl"
4 xmlns:html="http://www.w3.org/1999/xhtml"
5 xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
6
7 <binding id="box">
8 <content>
9 <html:div class="active-gecko-box">
10 <children/>
11 </html:div>
12 </content>
13 </binding>
14 <binding id="item">
15 <content>
16 <html:div class="active-gecko-item">
17 <children/>
18 </html:div>
19 </content>
20 </binding>
21 <binding id="resize">
22 <implementation>
23 <constructor>
24 var self = this;
25 this._resize = function(event){self.onresize(event)};
26 window.addEventListener("resize", this._resize, false);
27 this.onresize({type:"resize"});
28 </constructor>
29 <destructor>
30 window.removeEventListener("resize", this._resize, false);
31 this._resize = null;
32 </destructor>
33 </implementation>
34 </binding>
35 <binding id="mouse">
36 <implementation>
37 <constructor>
38 var self = this;
39 this._mouseenter = function(event){
40 if (!self.getAttribute("onmouseenter")) {return}
41 (new Function(self.getAttribute("onmouseenter"))).call(self, event);
42 };
43 this._mouseleave = function(event){
44 if (!self.getAttribute("onmouseleave")) {return}
45 (new Function(self.getAttribute("onmouseleave"))).call(self, event);
46 };
47 this.addEventListener("mouseover", this._mouseenter, false);
48 this.addEventListener("mouseout", this._mouseleave, false);
49 </constructor>
50 <destructor>
51 this.removeEventListener("mouseover", this._mouseenter, false);
52 this.removeEventListener("mouseout", this._mouseleave, false);
53 this._mouseenter = null;
54 this._mouseleave = null;
55 </destructor>
56 </implementation>
57 </binding>
58 </bindings>