Open Bug 2041445 Opened 2 months ago Updated 2 months ago

shape() relative units are incorrect under zoom property

Categories

(Core :: CSS Parsing and Computation, defect)

Firefox 150
defect

Tracking

()

Tracking Status
firefox-esr115 --- wontfix
firefox-esr140 --- wontfix
firefox151 --- wontfix
firefox152 --- wontfix
firefox153 --- affected

People

(Reporter: bdcubbage, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Attached file bugreportexample.html

Steps to reproduce:

el {
clip-path: shape(...); /* Use relative units here. polygon() doesn't have this issue /
zoom: 2; /
any number that isn't 1 */
}

Actual results:

An incorrect path is clipped. The shape paths' relative units are seemingly zoomed twice over.

Expected results:

The element should appear zoomed while remaining the same relative clip path.

Thanks for the bug report! I can reproduce at least as far back as Nightly 2024-06-01 (v128.0a1), so not a recently-introduced bug.

Severity: -- → S3
Status: UNCONFIRMED → NEW
Ever confirmed: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: