Baseline Widely Clipping, shapes, and masking

rect() and xywh()

The rect() CSS function creates a rectangle shape with insets from the edges of an element. The xywh() CSS function creates a rectangle shifted by an x and y distance. They can be used with clip-path and shape-outside.

Baseline Status
Widely Available
Since 2024-01-23
First Core Launch
Chrome 119
2023-10-31
Core-3 Stability
84d
Last: Firefox (2024-01-23)
BCD Keys Mapped
2
Group: Clipping, shapes, and masking

Browser Support Timeline

Chrome v119 (2023-10-31) Chrome Android v119 (2023-10-31) Edge v119 (2023-11-02) Safari v17.2 (2023-12-11) Safari on iOS v17.2 (2023-12-11) Firefox v122 (2024-01-23) Firefox for Android v122 (2024-01-23)
Green dot marks the first browser release (2023-10-31); blue dots show subsequent browser launches (+84d total span).

Browser Support Releases

BrowserTypeVersionRelease Date
Chrome desktop 119 2023-10-31
Chrome Android mobile 119 2023-10-31
Edge desktop 119 2023-11-02
Safari desktop 17.2 2023-12-11
Safari on iOS mobile 17.2 2023-12-11
Firefox desktop 122 2024-01-23
Firefox for Android mobile 122 2024-01-23

Constituent MDN BCD Keys (Sample)

BCD KeyAreaCore-3 TTA
css.types.basic-shape.rect CSS 84d
css.types.basic-shape.xywh CSS 84d