Open Bug 1882026 Opened 2 years ago Updated 2 years ago

Categories

(Core :: Layout, defect)

Desktop
All
defect

Tracking

()

Tracking Status
firefox125 --- affected

People

(Reporter: alice0775, Unassigned)

References

Details

Attachments

(4 files)

Steps to reproduce:

  1. Open https://plus.nasa.gov/video/jpl-and-the-space-age-destination-moon/

Actual results:
Layout of playback button is broken.

Attached file about:support

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.)

Also, FWIW, this doesn't seem to be a regression; I see the same results in e.g. Nightly 2022-09-01 (v106.0a1)

Depends on: csszoom
OS: Windows → All
Summary: Play button glitch in https://plus.nasa.gov/video/jpl-and-the-space-age-destination-moon/ → Play button glitch in https://plus.nasa.gov/video/jpl-and-the-space-age-destination-moon/ (with css 'zoom')

(The "share" button has the same issue, though to a lesser extent; it's got zoom:50% which we ignore.)

Attached file testcase 2

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?

Flags: needinfo?(emilio)
Severity: -- → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: