Play button glitch in https://plus.nasa.gov/video/jpl-and-the-space-age-destination-moon/ (with css 'zoom')
Categories
(Core :: Layout, defect)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox125 | --- | affected |
People
(Reporter: alice0775, Unassigned)
References
Details
Attachments
(4 files)
Steps to reproduce:
Actual results:
Layout of playback button is broken.
| Reporter | ||
Comment 1•2 years ago
|
||
Comment 2•2 years ago
|
||
I can reproduce. The playback button uses CSS zoom: 30% to scale itself down, which seems to be doing something in Chrome but not in Firefox.
(If I disable that property in Chrome, then their layout matches ours. If I disable it in Firefox Nightly, there's no rendering change.)
Comment 3•2 years ago
|
||
Also, FWIW, this doesn't seem to be a regression; I see the same results in e.g. Nightly 2022-09-01 (v106.0a1)
Comment 4•2 years ago
|
||
(The "share" button has the same issue, though to a lesser extent; it's got zoom:50% which we ignore.)
Comment 5•2 years ago
|
||
Comment 6•2 years ago
|
||
Comment 7•2 years ago
|
||
emilio, it looks like we've got an inconsistency (with respect to Chrome at least) RE how we resolve em units, when the font-size is inherited vs. specified explicitly on the same element -- see testcase 2. Do you know if this is a known issue with zoom, and is it something we can address?
Updated•2 years ago
|
Comment 8•2 years ago
|
||
Yeah this is basically https://github.com/w3c/csswg-drafts/issues/9397
Description
•