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

  <foo><description>World</description></foo>
</window>