Closed Bug 1876796 Opened 2 years ago Closed 2 years ago

css clip-path not working with rect() and xywh()

Categories

(Core :: CSS Parsing and Computation, defect)

Firefox 121
defect

Tracking

()

RESOLVED DUPLICATE of bug 1868722

People

(Reporter: David.Gausmann, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:121.0) Gecko/20100101 Firefox/121.0

Steps to reproduce:

I wanted to use the CSS clip-path property with a rect() value. For testing I copied the value from MDN.

Actual results:

The developer tools say that this is an invalid CSS property value. However, MDN says that Firefox should support all basic shapes.

Expected results:

The CSS rule should be valid.

You can access https://developer.mozilla.org/en-US/docs/Web/CSS/clip-path and click on all examples.
rect() and xywh() don't work in Firefox.

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

Component: Untriaged → CSS Parsing and Computation
Product: Firefox → Core

Try updating to Firefox 122.

Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Duplicate of bug: 1868722
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.