summaryrefslogtreecommitdiffstats
path: root/remote/marionette/chrome/test_menupopup.xhtml
blob: 5d8902f01176a0018f81236649126b94ede4ed3c (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
<?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/. -->

<?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?>

<!DOCTYPE window [
]>
<window id="test-window" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
    <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>