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

@ -49,10 +49,8 @@ interface HTMLElement : Element {
attribute DOMString contentEditable;
[Pure]
readonly attribute boolean isContentEditable;
[Pure]
[Pure, Pref="dom.menuitem.enabled"]
readonly attribute HTMLMenuElement? contextMenu;
//[SetterThrows]
// attribute HTMLMenuElement? contextMenu;
[CEReactions, SetterThrows, Pure]
attribute boolean spellcheck;