I noticed I forgot to send the intent-to-prototype mail, so merge these two mails together. These features have been implemented for a couple of months and enabled on Nightly.
Summary: rect() and xywh() are two similar basic shapes like inset(). But the difference is:
Bug:
rect(): https://bugzilla.mozilla.org/show_bug.cgi?id=1786161,
xywh(): https://bugzilla.mozilla.org/show_bug.cgi?id=1786160
Bug to turn on by default: https://bugzilla.mozilla.org/show_bug.cgi?id=1868722
Specification: https://drafts.csswg.org/css-shapes/#funcdef-basic-shape-rect and https://drafts.csswg.org/css-shapes/#funcdef-basic-shape-xywh
Platform coverage: All.
Preference: layout.css.basic-shape-rect.enabled
and layout.css.basic-shape-xywh.enabled
DevTools bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1841237 and https://bugzilla.mozilla.org/show_bug.cgi?id=1841235
Link to standards-positions discussion: no discussion there. These two basic-shapes are very simple and they have been in the spec for a long time already. These two shapes are in our interop2023 metrics, so I assume we are positive for this.
Other browsers:
web-platform-tests: motion and css-masking use these two shapes:
As of fx122, I intend to turn these two shapes on by
default on all platforms. It has been developed behind the layout.css.basic-shape-rect.enabled
and layout.css.basic-shape-xywh.enabled
preference. Status in other browsers is shown above
Regards,
Boris