diff --git a/features/rect-xywh.yml b/features/rect-xywh.yml new file mode 100644 index 00000000000..cfe361c901a --- /dev/null +++ b/features/rect-xywh.yml @@ -0,0 +1,9 @@ +name: rect() and xywh() +description: 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`. +spec: + - https://drafts.csswg.org/css-shapes-1/#funcdef-basic-shape-xywh + - https://drafts.csswg.org/css-shapes-1/#funcdef-basic-shape-rect +group: clipping-shapes-masking +compat_features: + - css.types.basic-shape.rect + - css.types.basic-shape.xywh diff --git a/features/rect-xywh.yml.dist b/features/rect-xywh.yml.dist new file mode 100644 index 00000000000..63696fd8577 --- /dev/null +++ b/features/rect-xywh.yml.dist @@ -0,0 +1,17 @@ +# Generated from: rect-xywh.yml +# Do not edit this file by hand. Edit the source file instead! + +status: + baseline: low + baseline_low_date: 2024-01-23 + support: + chrome: "119" + chrome_android: "119" + edge: "119" + firefox: "122" + firefox_android: "122" + safari: "17.2" + safari_ios: "17.2" +compat_features: + - css.types.basic-shape.rect + - css.types.basic-shape.xywh diff --git a/features/rect-xywx.yml b/features/rect-xywx.yml index cfe361c901a..5ac34aadfdb 100644 --- a/features/rect-xywx.yml +++ b/features/rect-xywx.yml @@ -1,9 +1,2 @@ -name: rect() and xywh() -description: 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`. -spec: - - https://drafts.csswg.org/css-shapes-1/#funcdef-basic-shape-xywh - - https://drafts.csswg.org/css-shapes-1/#funcdef-basic-shape-rect -group: clipping-shapes-masking -compat_features: - - css.types.basic-shape.rect - - css.types.basic-shape.xywh +kind: moved +redirect_target: rect-xywh diff --git a/features/rect-xywx.yml.dist b/features/rect-xywx.yml.dist index 11b6a3bca71..c0118642131 100644 --- a/features/rect-xywx.yml.dist +++ b/features/rect-xywx.yml.dist @@ -1,17 +1,6 @@ # Generated from: rect-xywx.yml -# Do not edit this file by hand. Edit the source file instead! +# This file intentionally left blank. +# Do not edit this file. +# The data for this feature has moved to rect-xywh.yml -status: - baseline: low - baseline_low_date: 2024-01-23 - support: - chrome: "119" - chrome_android: "119" - edge: "119" - firefox: "122" - firefox_android: "122" - safari: "17.2" - safari_ios: "17.2" -compat_features: - - css.types.basic-shape.rect - - css.types.basic-shape.xywh +{}