Closed
Bug 2041515
Opened 2 months ago
Closed 2 months ago
Add Nova icons for Firefox :: Address Bar
Categories
(Firefox :: Address Bar, task)
Firefox
Address Bar
Tracking
()
RESOLVED
FIXED
153 Branch
| Tracking | Status | |
|---|---|---|
| firefox153 | --- | fixed |
People
(Reporter: sthompson, Assigned: sthompson)
References
(Blocks 2 open bugs)
Details
(Whiteboard: [fidefe-nova])
Attachments
(1 file)
There are a small number of icons owned by Address Bar. These should display in the Nova icon style when Nova is enabled.
- flight-airline.svg has a redrawn icon, but the inflight progress animation is not being updated
- the market up/down/unchanged icons are probably out of scope for updates
- the sports icons have been redrawn for Nova
Updated•2 months ago
|
| Assignee | ||
Comment 1•2 months ago
|
||
Displays the Nova iconography when browser.nova.enabled is true.
Updates 9 existing urlbar icons with the following approach:
- wraps the existing <path>(s) in a
<g class="proton"> - appends the Nova redrawn icon's <path>(s) in a
<g class="nova"> - adds a <style> block with rules to show only one group at a time
This is an unorthodox approach. It has several drawbacks:
- increases individual SVG size
- increases the time required to render each SVG
- viewing the SVGs in normal image tools will only show the Proton variant, which is confusing
However, I think this approach is better than alternatives.
- do not need to add new Nova icon files and CSS rules to use them conditionally
- SVG uses in XHTML and similar contexts doesn't require special handling
- this can be undone very easily after Nova is released, leaving only the Nova paths
- the SVG rendering performance impact is not large, and alternatives would still have non-zero performance impact
- total size of SVGs is not that much larger than if we added separate Nova icons
Updated•2 months ago
|
Blocks: nova-urlbar, 2019160
Pushed by sthompson@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/e07fecf25a5c
https://hg.mozilla.org/integration/autoland/rev/24b214c96e28
urlbar Nova icons r=urlbar-reviewers,desktop-theme-reviewers,dao
Status: NEW → RESOLVED
Closed: 2 months ago
status-firefox153:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 153 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•