diff options
author | Moonchild <moonchild@palemoon.org> | 2021-01-25 23:18:58 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2021-01-25 23:18:58 +0000 |
commit | 874330d4538bd4704730d57fa35fd678c7d6fbf2 (patch) | |
tree | 3b89c8f0a55a99a90aef812e73966a9e2ba6cbb9 /layout/style | |
parent | 1126548deecfd736755f1e1b7e7d551b42e73780 (diff) | |
download | UXP-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 'layout/style')
-rw-r--r-- | layout/style/res/html.css | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/layout/style/res/html.css b/layout/style/res/html.css index 066aab397..890ea6762 100644 --- a/layout/style/res/html.css +++ b/layout/style/res/html.css @@ -576,8 +576,10 @@ ul, menu, dir { padding-inline-start: 40px; } -menu[type="context"] { - display: none !important; +@supports -moz-bool-pref("dom.menuitem.enabled") { + menu[type="context"] { + display: none !important; + } } ol { |