Closed Bug 1774253 Opened 2 years ago Closed 1 year ago

Transform breaks clip-path round

Categories

(Core :: Graphics: WebRender, defect)

Firefox 101
defect

Tracking

()

RESOLVED FIXED
119 Branch
Tracking Status
firefox-esr91 --- unaffected
firefox-esr102 --- wontfix
firefox-esr115 --- wontfix
firefox101 --- wontfix
firefox102 --- wontfix
firefox103 --- wontfix
firefox104 --- wontfix
firefox105 --- wontfix
firefox117 --- wontfix
firefox118 --- wontfix
firefox119 --- fixed

People

(Reporter: alexander, Assigned: gw)

References

(Blocks 1 open bug, Regression, )

Details

(Keywords: regression)

Attachments

(1 file)

Steps to reproduce:

Create a block with "transform: scaleX(-1)" to flip it horizontally and add clip-path with round corners through clip-path.

Actual results:

Corners are cut as squares.

Expected results:

It should have round corners.

See this codepen:
https://codepen.io/waterplea/pen/ExQrZPv

The Bugbug bot thinks this bug should belong to the 'Core::Graphics: WebRender' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Graphics: WebRender
Product: Firefox → Core

9:17.61 INFO: No more integration revisions, bisection finished.
9:17.61 INFO: Last good revision: 17ba69318293ff3bcedd0e870a0fab94f47f0d9f
9:17.61 INFO: First bad revision: 13058b0677bb64120fb18ce0a27884db6a781cfc
9:17.61 INFO: Pushlog:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=17ba69318293ff3bcedd0e870a0fab94f47f0d9f&tochange=13058b0677bb64120fb18ce0a27884db6a781cfc

Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Unspecified → All
Regressed by: 1757259
Hardware: Unspecified → All

Set release status flags based on info from the regressing bug 1757259

:gw, since you are the author of the regressor, bug 1757259, could you take a look?
For more information, please visit auto_nag documentation.

Flags: needinfo?(gwatson)
Assignee: nobody → gwatson
Flags: needinfo?(gwatson)
Has Regression Range: --- → yes

Set release status flags based on info from the regressing bug 1757259

The severity field is not set for this bug.
:gw, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(gwatson)
Severity: -- → S3
Flags: needinfo?(gwatson)

This is related to how we select surfaces to sometimes have a different raster vs surface spatial node, so that fractional snap offsets work on surfaces in the root coordinate system. I spent a couple hours trying to fix it, but no luck so far. I'm also going to take a look at how much work is involved in a "proper" fix (supporting a unified coordinate system rather than different raster vs. spatial) and see if that might be a better way to fix this case.

Blocks: 1782590
Attached file reporters_Standalone_testcase.html (deleted) —

gets fixed by the patches in bug 1849661

Depends on: 1849661
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: