Remove macOS/Windows/Linux ifdefs from customizeMode.inc.css
Categories
(Firefox :: Toolbars and Customization, task, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox99 | --- | fixed |
People
(Reporter: Gijs, Assigned: bigiri)
References
Details
(Whiteboard: [fidefe-quality-foundation])
Attachments
(1 file)
(deleted),
text/x-phabricator-request
|
Details |
https://searchfox.org/mozilla-central/source/browser/themes/shared/customizableui/customizeMode.inc.css has a handful of per-platform ifdefs. Now that bug 1754547 landed, it should be straightforward to replace them with media queries and stop pre-processing it.
It looks like we then include it on a per-platform basis in browser.css. Instead, we could have it be a standalone stylesheet and load it dynamically when entering customize mode for the first time (and await
the inserted stylesheet loading, so we don't hit a flash of unstyled content), from CustomizeMode.jsm. At least at a glance, I don't think any of the rules in that sheet apply to anything outside of customize mode.
Updated•3 years ago
|
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 1•3 years ago
|
||
Replaced OS specific preprocessor conditionals in customizeMode.inc.css with media queries.
Updated•3 years ago
|
Updated•3 years ago
|
Comment 3•3 years ago
|
||
bugherder |
Description
•