diff --git a/features/object-fit.yml b/features/object-fit.yml new file mode 100644 index 00000000000..3acd2e3e54f --- /dev/null +++ b/features/object-fit.yml @@ -0,0 +1,11 @@ +name: object-fit +description: The `object-fit` CSS property sets how images, videos, and other replaced elements are scaled within their container. +spec: https://drafts.csswg.org/css-images-4/#the-object-fit +caniuse: object-fit +compat_features: + - css.properties.object-fit + - css.properties.object-fit.contain + - css.properties.object-fit.cover + - css.properties.object-fit.fill + - css.properties.object-fit.none + - css.properties.object-fit.scale-down diff --git a/features/object-fit.yml.dist b/features/object-fit.yml.dist new file mode 100644 index 00000000000..1835e38ab81 --- /dev/null +++ b/features/object-fit.yml.dist @@ -0,0 +1,22 @@ +# Generated from: object-fit.yml +# Do not edit this file by hand. Edit the source file instead! + +status: + baseline: high + baseline_low_date: 2020-01-15 + baseline_high_date: 2022-07-15 + support: + chrome: "32" + chrome_android: "32" + edge: "79" + firefox: "36" + firefox_android: "36" + safari: "10" + safari_ios: "10" +compat_features: + - css.properties.object-fit + - css.properties.object-fit.contain + - css.properties.object-fit.cover + - css.properties.object-fit.fill + - css.properties.object-fit.none + - css.properties.object-fit.scale-down diff --git a/features/object-position.yml b/features/object-position.yml new file mode 100644 index 00000000000..5667a1476e2 --- /dev/null +++ b/features/object-position.yml @@ -0,0 +1,7 @@ +name: object-position +description: The `object-position` CSS property places images, videos, and other replaced elements within their boxes. +spec: https://drafts.csswg.org/css-images-3/#the-object-position +# object-fit on caniuse includes both object-fit and object-position. +# `caniuse: object-fit` is set in object-fit.yml +compat_features: + - css.properties.object-position diff --git a/features/object-position.yml.dist b/features/object-position.yml.dist new file mode 100644 index 00000000000..0c2d87c4d2e --- /dev/null +++ b/features/object-position.yml.dist @@ -0,0 +1,17 @@ +# Generated from: object-position.yml +# Do not edit this file by hand. Edit the source file instead! + +status: + baseline: high + baseline_low_date: 2020-01-15 + baseline_high_date: 2022-07-15 + support: + chrome: "32" + chrome_android: "32" + edge: "79" + firefox: "36" + firefox_android: "36" + safari: "10" + safari_ios: "10" +compat_features: + - css.properties.object-position diff --git a/features/object-view-box.yml b/features/object-view-box.yml index 2f6048f4348..5a91d016990 100644 --- a/features/object-view-box.yml +++ b/features/object-view-box.yml @@ -4,3 +4,4 @@ spec: https://drafts.csswg.org/css-images-5/#the-object-view-box group: css compat_features: - css.properties.object-view-box + - css.properties.object-view-box.none diff --git a/features/object-view-box.yml.dist b/features/object-view-box.yml.dist index fc24b24f78b..8f0f4a30023 100644 --- a/features/object-view-box.yml.dist +++ b/features/object-view-box.yml.dist @@ -9,3 +9,4 @@ status: edge: "104" compat_features: - css.properties.object-view-box + - css.properties.object-view-box.none