Audio icon in pinned tab shrunk due to border change
Categories
(Firefox :: Tabbed Browser, defect, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox-esr115 | --- | unaffected |
| firefox-esr140 | --- | unaffected |
| firefox-esr153 | --- | unaffected |
| firefox155 | --- | unaffected |
| firefox156 | --- | unaffected |
| firefox157 | --- | wontfix |
| firefox158 | --- | fixed |
People
(Reporter: mercichao, Assigned: kpatenio)
References
(Blocks 1 open bug, Regression)
Details
(Keywords: regression, Whiteboard: [fidefe-nova])
Attachments
(2 files)
Because of the recent change to .tab-icon-overlay which adds a border, the audio icon in pinned tabs is shrunk down from the original 12px (size of the SVG image) to 10px. This visual regression makes the icon appear smaller than intended. Adjusting the styling can fix the issue:
- Change the padding to 1px, or
- Replace the padding with
object-fit: scale-down.
| Reporter | ||
Updated•1 month ago
|
| Reporter | ||
Comment 1•1 month ago
|
||
Sorry that if choosing the approach of adjust the padding, the new padding should be calc(2px - env(hairline)).
Comment 2•1 month ago
|
||
:kpatenio, since you are the author of the regressor, bug 2048382, could you take a look? Also, could you set the severity field?
For more information, please visit BugBot documentation.
Updated•1 month ago
|
Comment 3•1 month ago
|
||
The bug has a release status flag that shows some version of Firefox is affected, thus it will be considered confirmed.
Updated•1 month ago
|
Comment 4•1 month ago
|
||
Note that the 1px border is only on the audio-related variants of the .tab-icon-overlay https://searchfox.org/firefox-main/rev/bde88e0509310cea9d16d473d94d7d0f48632df2/browser/themes/shared/tabbrowser/tabs.css#697 while all variants of the overlay currently use the 2px padding https://searchfox.org/firefox-main/rev/bde88e0509310cea9d16d473d94d7d0f48632df2/browser/themes/shared/tabbrowser/tabs.css#647. Makes sense to reduce padding on the audio-related variants.
Updated•1 month ago
|
Updated•1 month ago
|
Updated•1 month ago
|
Comment 7•1 month ago
|
||
| bugherder | ||
Comment 8•1 month ago
|
||
The patch landed in nightly and beta is affected.
:kpatenio, is this bug important enough to require an uplift?
- If yes, please nominate the patch for beta approval.
- See https://wiki.mozilla.org/Release_Management/Requesting_an_Uplift for documentation on how to request an uplift.
- If no, please set
status-firefox157towontfix.
For more information, please visit BugBot documentation.
This is okay to land in 158
Updated•22 days ago
|
Description
•