|
1 <?xml version="1.0"?> |
|
2 <?xml-stylesheet href="chrome://global/skin/" type="text/css"?> |
|
3 <window |
|
4 xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" |
|
5 xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" |
|
6 xmlns:html="http://www.w3.org/1999/xhtml" |
|
7 > |
|
8 <bindings xmlns="http://www.mozilla.org/xbl"> |
|
9 <binding id="foo"> |
|
10 <content><xul:box><xul:box><children/></xul:box></xul:box></content> |
|
11 </binding> |
|
12 <implementation> |
|
13 <field name="box">document.getAnonymousNodes(this)[0]</field> |
|
14 </implementation> |
|
15 </bindings> |
|
16 <html:style type="text/css"> |
|
17 <!-- CSS style rules for XBL bindings go here --> |
|
18 <![CDATA[ |
|
19 foo { |
|
20 -moz-binding: url("#foo"); |
|
21 } |
|
22 ]]> |
|
23 </html:style> |
|
24 <!-- XUL application goes here --> |
|
25 |
|
26 <foo><description>World</description></foo> |
|
27 </window> |