gecko-dev/testing/marionette/chrome/test_menupopup.xhtml

31 строка
1.1 KiB
HTML

<?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>