Issue #1719 - Make <menuitem> pref-controlled and disable by default.

Resolves #1719
This commit is contained in:
Moonchild 2021-01-25 23:18:58 +00:00 • committed by roytam1
commit a828a5f321
12 changed files with 32 additions and 16 deletions

View file

@ -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;
};