Closed Bug 1791278 Opened 2 years ago Closed 2 years ago

clip-path: polygon fails to completely clip transformed element

Categories

(Core :: SVG, defect)

Firefox 104
x86_64
Linux
defect

Tracking

()

RESOLVED DUPLICATE of bug 1671784

People

(Reporter: webstrand, Unassigned)

Details

Attachments

(1 file)

I used clip-path: polygon(...) to clip off half of an element that was transformed by rotation.

Steps to reproduce:
(1) Visit https://codepen.io/webstrand/pen/bGMqzVd
(2) Observe the differences between the three clipped squares

Actual Results:
The clipped section of the non-rotated div has no red outline
The clipped section of the rotated div has a red outline
The clipped section of the rotated div with transform-style: preserve3d parent has no red outline.

Expected Results:
All three red squares should have no outline around the clipped region

Additional Information:
I was not able to reproduce this issue on Android with Firefox Nightly/106.

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

Component: Untriaged → SVG
Product: Firefox → Core

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

For more information, please visit auto_nag documentation.

Flags: needinfo?(dshin)
Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Flags: needinfo?(dshin)
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: