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.xhtml30
1 files changed, 30 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..5d8902f011
--- /dev/null
+++ b/remote/marionette/chrome/test_menupopup.xhtml
@@ -0,0 +1,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>