Closed
Bug 1712734
Opened 3 years ago
Closed 3 years ago
MacOS native context menus fail to honor CSS rules defined in userChrome.css
Categories
(Core :: Widget: Cocoa, defect)
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: danmattera1, Unassigned)
Details
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:89.0) Gecko/20100101 Firefox/89.0
Steps to reproduce:
- set
widget.macos.native-context-menus
=true
- set
toolkit.legacyUserProfileCustomizations.stylesheets
=true
to enable custom CSS via userChrome.css - place a rule targeting a context menu item such as
#context-back { display: none !important; }
in your userChrome.css file.
Actual results:
The rule is ignored by the context menu and is not applied to the element defined in the rule.
Expected results:
The rule should be honored by the context menu. In the example given, the "Back" option should be hidden but instead it remains visible.
If you disable widget.macos.native-context-menus
to bring back the non-native context menus, the rule is then respected and the rule is correctly applied to the "Back" option in the context menu
Reporter | ||
Updated•3 years ago
|
Component: Untriaged → Widget: Cocoa
OS: Unspecified → macOS
Product: Firefox → Core
Comment 1•3 years ago
|
||
This will not be supported with native context menus.
Status: UNCONFIRMED → RESOLVED
Closed: 3 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•