summaryrefslogtreecommitdiffstats
path: root/remote/marionette/chrome/test_menupopup.xhtml
diff options
context:
space:
mode:
Diffstat (limited to 'remote/marionette/chrome/test_menupopup.xhtml')
-rw-r--r--remote/marionette/chrome/test_menupopup.xhtml33
1 files changed, 33 insertions, 0 deletions
diff --git a/remote/marionette/chrome/test_menupopup.xhtml b/remote/marionette/chrome/test_menupopup.xhtml
new file mode 100644
index 0000000000..23ddde041f
--- /dev/null
+++ b/remote/marionette/chrome/test_menupopup.xhtml
@@ -0,0 +1,33 @@
+<?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>