summaryrefslogtreecommitdiffstats
path: root/testing/marionette/chrome/test_anonymous_content.xul
blob: 49f9eff292611450994b2af9c660d348483a2592 (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
28
29
30
31
32
33
34
35
36
37
<?xml version="1.0"?>
<!-- This Source Code Form is subject to the terms of the Mozilla Public
   - License, v. 2.0. If a copy of the MPL was not distributed with this
   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->

<!DOCTYPE dialog [
]>

<dialog id="testDialogAnonymousNode"
          buttons="accept, cancel"
          xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">

  <bindings id="testBindings" xmlns="http://www.mozilla.org/xbl"
            xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
    <binding id="framebox">
      <content orient="vertical" mousethrough="never">
        <xul:browser anonid="content" id="browser" flex="1"
                     context="contentAreaContextMenu"
                     src="test.xul"
                     type="content"/>
      </content>
    </binding>

    <binding id="iframebox">
      <content>
        <xul:box>
          <xul:iframe anonid="iframe" src="chrome://marionette/content/test.xul"></xul:iframe>
        </xul:box>
      </content>
    </binding>
  </bindings>

  <hbox id="testAnonymousContentBox"/>
  <hbox id="container" style="-moz-binding: url('#testBindings');"/>
  <hbox id="container2" style="-moz-binding: url('#iframebox');"/>

</dialog>