Zoom doesn't interact too well with font-relative and root-relative units.
Categories
(Core :: CSS Parsing and Computation, defect, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr115 | --- | unaffected |
firefox125 | --- | unaffected |
firefox126 | + | fixed |
firefox127 | --- | fixed |
People
(Reporter: emilio, Assigned: emilio)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
152 bytes,
text/html
|
Details | |
48 bytes,
text/x-phabricator-request
|
dmeehan
:
approval-mozilla-beta+
|
Details | Review |
[Tracking Requested - why for this release]: CSS zoom is a new feature in 126 and would be nice not shipping with this bug.
See test-case. Removing the font-size: 1rem
should not change the used font-size, arguably.
Updated•1 years ago
|
Updated•1 years ago
|
Comment 1•1 years ago
|
||
The bug is marked as tracked for firefox126 (beta). However, the bug still isn't assigned and has low severity.
:fgriffith, could you please find an assignee and increase the severity for this tracked bug? If you disagree with the tracking decision, please talk with the release managers.
For more information, please visit BugBot documentation.
Assignee | ||
Comment 2•1 years ago
|
||
Meant to self-assign, BugBot sometimes can be too annoying :)
Comment 3•1 years ago
|
||
Thank you Emilio!
Assignee | ||
Updated•1 years ago
|
Assignee | ||
Comment 4•1 years ago
|
||
The values that we take from our parent should be zoomed in. Similarly,
root values should also be zoomed in by the effective zoom (for that, we
unzoom root values to zoom-independent pixels when storing them on the
device).
Container-relative units probably need more care / thought, because they
are in the layout (so zoom-independent) coordinate space already, since
they come from frames. I'll file a follow-up for those.
Comment 5•1 years ago
|
||
:emilio we are in the final week of beta for Fx126 with two beta builds left.
Not sure if you have a reviewer lined up for this, or what the uplift risk is, but asking if we should consider disabling Bug 390936 for Fx126?
Putting the suggestion out there if needed.
Assignee | ||
Comment 6•1 years ago
|
||
I don't think it's particularly risky, but yeah I'll try to speed up the review process.
Assignee | ||
Comment 9•1 years ago
|
||
Comment on attachment 9398586 [details]
Bug 1892676 - Improve interaction of css zoom and non-absolute CSS units. r=#layout,#style
Beta/Release Uplift Approval Request
- User impact if declined: CSS zoom behaves oddly with some CSS units.
- Is this code covered by automated tests?: Yes
- Has the fix been verified in Nightly?: Yes
- Needs manual test from QE?: No
- If yes, steps to reproduce:
- List of other uplifts needed: none
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): Zoom-specific.
- String changes made/needed: none
- Is Android affected?: Yes
![]() |
||
Comment 10•1 years ago
|
||
bugherder |
Comment 13•1 years ago
|
||
Comment on attachment 9398586 [details]
Bug 1892676 - Improve interaction of css zoom and non-absolute CSS units. r=#layout,#style
Approved for 126.0b8
Comment 14•1 years ago
|
||
uplift |
Updated•1 years ago
|
Description
•