summaryrefslogtreecommitdiffstats
path: root/dom/webidl/HTMLMenuElement.webidl
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2021-01-25 23:18:58 +0000
committerMoonchild <moonchild@palemoon.org>2021-01-25 23:18:58 +0000
commit874330d4538bd4704730d57fa35fd678c7d6fbf2 (patch)
tree3b89c8f0a55a99a90aef812e73966a9e2ba6cbb9 /dom/webidl/HTMLMenuElement.webidl
parent1126548deecfd736755f1e1b7e7d551b42e73780 (diff)
downloadUXP-874330d4538bd4704730d57fa35fd678c7d6fbf2.tar
UXP-874330d4538bd4704730d57fa35fd678c7d6fbf2.tar.gz
UXP-874330d4538bd4704730d57fa35fd678c7d6fbf2.tar.lz
UXP-874330d4538bd4704730d57fa35fd678c7d6fbf2.tar.xz
UXP-874330d4538bd4704730d57fa35fd678c7d6fbf2.zip
Issue #1719 - Make <menuitem> pref-controlled and disable by default.
Resolves #1719
Diffstat (limited to 'dom/webidl/HTMLMenuElement.webidl')
-rw-r--r--dom/webidl/HTMLMenuElement.webidl4
1 files changed, 2 insertions, 2 deletions
diff --git a/dom/webidl/HTMLMenuElement.webidl b/dom/webidl/HTMLMenuElement.webidl
index 1194226c5..dc9a78ae8 100644
--- a/dom/webidl/HTMLMenuElement.webidl
+++ b/dom/webidl/HTMLMenuElement.webidl
@@ -17,9 +17,9 @@ interface MenuBuilder;
// http://www.whatwg.org/specs/web-apps/current-work/#the-menu-element
[HTMLConstructor]
interface HTMLMenuElement : HTMLElement {
- [CEReactions, SetterThrows]
+ [CEReactions, SetterThrows, Pref="dom.menuitem.enabled"]
attribute DOMString type;
- [CEReactions, SetterThrows]
+ [CEReactions, SetterThrows, Pref="dom.menuitem.enabled"]
attribute DOMString label;
};