summaryrefslogtreecommitdiffstats
path: root/remote/marionette/chrome/test_menupopup.xhtml
blob: f9908072e8a38e824ff44d3682bbdde95598af5e (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
<?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 window [ ]>
<window
  id="test-window"
  xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  xmlns:html="http://www.w3.org/1999/xhtml"
>
  <html:link rel="stylesheet" href="chrome://global/skin/global.css" />

  <popupset id="options-popupset">
    <menupopup id="options-menupopup" position="before_end">
      <menuitem id="option-enabled" type="checkbox" label="enabled" />
      <menuitem
        id="option-hidden"
        type="checkbox"
        label="hidden"
        hidden="true"
      />
      <menuitem
        id="option-disabled"
        type="checkbox"
        label="disabled"
        disabled="true"
      />
    </menupopup>
  </popupset>
  <hbox align="center" style="height: 300px">
    <button id="options-button" popup="options-menupopup" label="button" />
  </hbox>
</window>