Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions features/aspect-ratio.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,8 @@ name: aspect-ratio
description: "The `aspect-ratio` CSS property controls the width-to-height ratio of elements. For `<img>` and `<video>` elements, the `width` and `height` attributes used together with `height: auto` control the aspect ratio while the image/video is loading."
spec: https://drafts.csswg.org/css-sizing-4/#aspect-ratio
group: css
compat_features:
- html.elements.video.aspect_ratio_computed_from_attributes
- html.elements.img.aspect_ratio_computed_from_attributes
- css.properties.aspect-ratio
- css.properties.aspect-ratio.auto
1 change: 1 addition & 0 deletions features/aspect-ratio.yml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,4 @@ compat_features:
# safari: "15"
# safari_ios: "15"
- css.properties.aspect-ratio
- css.properties.aspect-ratio.auto
9 changes: 9 additions & 0 deletions features/box-sizing.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: box-sizing
description: The `box-sizing` CSS property sets whether an element's width and height are calculated based on the `content-box`, which does not count the size of borders or padding, or `border-box`, which does count them.
spec: https://drafts.csswg.org/css-sizing-3/#propdef-box-sizing
caniuse: css3-boxsizing
group: layout
compat_features:
- css.properties.box-sizing
- css.properties.box-sizing.border-box
- css.properties.box-sizing.content-box
19 changes: 19 additions & 0 deletions features/box-sizing.yml.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Generated from: box-sizing.yml
# Do not edit this file by hand. Edit the source file instead!

status:
baseline: high
baseline_low_date: 2015-07-29
baseline_high_date: 2018-01-29
support:
chrome: "10"
chrome_android: "18"
edge: "12"
firefox: "29"
firefox_android: "29"
safari: "5.1"
safari_ios: "6"
compat_features:
- css.properties.box-sizing
- css.properties.box-sizing.border-box
- css.properties.box-sizing.content-box
17 changes: 17 additions & 0 deletions features/fit-content-function.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: fit-content()
description: The `fit-content()` CSS function, used outside of a grid layout property, clamps a length between `min-content` and `max-content`.
spec: https://drafts.csswg.org/css-sizing-3/#funcdef-width-fit-content
group: layout
compat_features:
- css.properties.block-size.fit-content_function
- css.properties.height.fit-content_function
- css.properties.inline-size.fit-content_function
- css.properties.max-block-size.fit-content_function
- css.properties.max-height.fit-content_function
- css.properties.max-inline-size.fit-content_function
- css.properties.max-width.fit-content_function
- css.properties.min-block-size.fit-content_function
- css.properties.min-height.fit-content_function
- css.properties.min-inline-size.fit-content_function
- css.properties.min-width.fit-content_function
- css.properties.width.fit-content_function
19 changes: 19 additions & 0 deletions features/fit-content-function.yml.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Generated from: fit-content-function.yml
# Do not edit this file by hand. Edit the source file instead!

status:
baseline: false
support: {}
compat_features:
- css.properties.block-size.fit-content_function
- css.properties.height.fit-content_function
- css.properties.inline-size.fit-content_function
- css.properties.max-block-size.fit-content_function
- css.properties.max-height.fit-content_function
- css.properties.max-inline-size.fit-content_function
- css.properties.max-width.fit-content_function
- css.properties.min-block-size.fit-content_function
- css.properties.min-height.fit-content_function
- css.properties.min-inline-size.fit-content_function
- css.properties.min-width.fit-content_function
- css.properties.width.fit-content_function
11 changes: 11 additions & 0 deletions features/fit-content.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: fit-content
description: The `fit-content` CSS keyword expands a box as needed to fit its contents until the maximum size is reached.
spec: https://drafts.csswg.org/css-sizing-4/#valdef-width-fit-content
group: layout
compat_features:
- css.properties.height.fit-content
- css.properties.max-height.fit-content
- css.properties.max-width.fit-content
- css.properties.min-height.fit-content
- css.properties.min-width.fit-content
- css.properties.width.fit-content
22 changes: 22 additions & 0 deletions features/fit-content.yml.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Generated from: fit-content.yml
# Do not edit this file by hand. Edit the source file instead!

status:
baseline: high
baseline_low_date: 2021-11-02
baseline_high_date: 2024-05-02
support:
chrome: "46"
chrome_android: "46"
edge: "79"
firefox: "94"
firefox_android: "94"
safari: "11"
safari_ios: "11"
compat_features:
- css.properties.height.fit-content
- css.properties.max-height.fit-content
- css.properties.max-width.fit-content
- css.properties.min-height.fit-content
- css.properties.min-width.fit-content
- css.properties.width.fit-content
19 changes: 19 additions & 0 deletions features/min-max-content.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: min-content and max-content
description: The `min-content` and `max-content` CSS keywords represent the smallest and largest intrinsic sizes of an element.
spec:
- https://drafts.csswg.org/css-sizing-3/#valdef-width-max-content
- https://drafts.csswg.org/css-sizing-3/#valdef-width-min-content
group: layout
compat_features:
- css.properties.height.max-content
- css.properties.max-height.max-content
- css.properties.max-width.max-content
- css.properties.min-height.max-content
- css.properties.min-width.max-content
- css.properties.width.max-content
- css.properties.height.min-content
- css.properties.max-height.min-content
- css.properties.max-width.min-content
- css.properties.min-height.min-content
- css.properties.min-width.min-content
- css.properties.width.min-content
28 changes: 28 additions & 0 deletions features/min-max-content.yml.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Generated from: min-max-content.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: "46"
chrome_android: "46"
edge: "79"
firefox: "66"
firefox_android: "66"
safari: "11"
safari_ios: "11"
compat_features:
- css.properties.height.max-content
- css.properties.height.min-content
- css.properties.max-height.max-content
- css.properties.max-height.min-content
- css.properties.max-width.max-content
- css.properties.max-width.min-content
- css.properties.min-height.max-content
- css.properties.min-height.min-content
- css.properties.min-width.max-content
- css.properties.min-width.min-content
- css.properties.width.max-content
- css.properties.width.min-content
17 changes: 17 additions & 0 deletions features/min-max-width-height.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Min and max width and height
description: The `min-width`, `min-height`, `max-width`, and `max-height` CSS properties set the minimum and maximum size of an element.
spec:
- https://drafts.csswg.org/css-sizing-3/#min-size-properties
- https://drafts.csswg.org/css-sizing-3/#max-size-properties
caniuse: minmaxwh
status:
compute_from: css.properties.max-height.none
compat_features:
- css.properties.max-height
- css.properties.max-height.none
- css.properties.max-width
- css.properties.max-width.none
- css.properties.min-height
- css.properties.min-height.auto
- css.properties.min-width
- css.properties.min-width.auto
92 changes: 92 additions & 0 deletions features/min-max-width-height.yml.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
# Generated from: min-max-width-height.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: "18"
chrome_android: "18"
edge: "79"
firefox: "1"
firefox_android: "4"
safari: "1.3"
safari_ios: "1"
compat_features:
# baseline: high
# baseline_low_date: 2015-07-29
# baseline_high_date: 2018-01-29
# support:
# chrome: "1"
# chrome_android: "18"
# edge: "12"
# firefox: "1"
# firefox_android: "4"
# safari: "1"
# safari_ios: "1"
- css.properties.max-width
- css.properties.max-width.none
- css.properties.min-width

# baseline: high
# baseline_low_date: 2015-07-29
# baseline_high_date: 2018-01-29
# support:
# chrome: "1"
# chrome_android: "18"
# edge: "12"
# firefox: "3"
# firefox_android: "4"
# safari: "1.3"
# safari_ios: "1"
- css.properties.min-height

# baseline: high
# baseline_low_date: 2015-07-29
# baseline_high_date: 2018-01-29
# support:
# chrome: "18"
# chrome_android: "18"
# edge: "12"
# firefox: "1"
# firefox_android: "4"
# safari: "1.3"
# safari_ios: "1"
- css.properties.max-height

# baseline: high
# baseline_low_date: 2015-07-29
# baseline_high_date: 2018-01-29
# support:
# chrome: "21"
# chrome_android: "25"
# edge: "12"
# firefox: "34"
# firefox_android: "34"
# safari: "7"
# safari_ios: "7"
- css.properties.min-width.auto

# ⬇️ Same status as overall feature ⬇️
# baseline: high
# baseline_low_date: 2020-01-15
# baseline_high_date: 2022-07-15
# support:
# chrome: "18"
# chrome_android: "18"
# edge: "79"
# firefox: "1"
# firefox_android: "4"
# safari: "1.3"
# safari_ios: "1"
- css.properties.max-height.none

# baseline: false
# support:
# chrome: "21"
# chrome_android: "25"
# edge: "79"
# safari: "7"
# safari_ios: "7"
- css.properties.min-height.auto
Comment on lines +71 to +92
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I sent mdn/browser-compat-data#24601 to fix these

15 changes: 15 additions & 0 deletions features/width-height.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Width and height
description: The `width` and `height` CSS properties set the preferred physical size of an element.
spec: https://drafts.csswg.org/css-sizing-3/#preferred-size-properties
group: layout
# Ignore width.is_animatable
status:
compute_from:
- css.properties.height
- css.properties.width
compat_features:
- css.properties.height
- css.properties.height.auto
- css.properties.width
- css.properties.width.is_animatable
- css.properties.width.auto
45 changes: 45 additions & 0 deletions features/width-height.yml.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# Generated from: width-height.yml
# Do not edit this file by hand. Edit the source file instead!

status:
baseline: high
baseline_low_date: 2015-07-29
baseline_high_date: 2018-01-29
support:
chrome: "1"
chrome_android: "18"
edge: "12"
firefox: "1"
firefox_android: "4"
safari: "1"
safari_ios: "1"
compat_features:
# ⬇️ Same status as overall feature ⬇️
# baseline: high
# baseline_low_date: 2015-07-29
# baseline_high_date: 2018-01-29
# support:
# chrome: "1"
# chrome_android: "18"
# edge: "12"
# firefox: "1"
# firefox_android: "4"
# safari: "1"
# safari_ios: "1"
- css.properties.height
- css.properties.height.auto
- css.properties.width
- css.properties.width.auto

# baseline: high
# baseline_low_date: 2015-07-29
# baseline_high_date: 2018-01-29
# support:
# chrome: "26"
# chrome_android: "26"
# edge: "12"
# firefox: "16"
# firefox_android: "16"
# safari: "7"
# safari_ios: "7"
- css.properties.width.is_animatable