diff --git a/features/fit-content.yml b/features/fit-content.yml index 27c668455ad..1b963769691 100644 --- a/features/fit-content.yml +++ b/features/fit-content.yml @@ -1,5 +1,5 @@ name: fit-content -description: The `fit-content` CSS keyword expands a box as needed to fit its contents until the maximum size is reached. +description: The `fit-content` CSS keyword expands a box as needed to fit its contents until the maximum size is reached, preserving the content's preferred aspect ratio. spec: https://drafts.csswg.org/css-sizing-4/#valdef-width-fit-content group: layout compat_features: diff --git a/features/stretch.yml b/features/stretch.yml new file mode 100644 index 00000000000..37d34aeee9d --- /dev/null +++ b/features/stretch.yml @@ -0,0 +1,11 @@ +name: stretch +description: The `stretch` CSS keyword expands a box as needed to fit its contents until the maximum size is reached, without preserving the content's preferred aspect ratio. +spec: https://drafts.csswg.org/css-sizing-4/#stretch-fit-sizing +group: layout +compat_features: + - css.properties.height.stretch + - css.properties.max-height.stretch + - css.properties.max-width.stretch + - css.properties.min-height.stretch + - css.properties.min-width.stretch + - css.properties.width.stretch diff --git a/features/stretch.yml.dist b/features/stretch.yml.dist new file mode 100644 index 00000000000..465a8943172 --- /dev/null +++ b/features/stretch.yml.dist @@ -0,0 +1,13 @@ +# Generated from: stretch.yml +# Do not edit this file by hand. Edit the source file instead! + +status: + baseline: false + support: {} +compat_features: + - css.properties.height.stretch + - css.properties.max-height.stretch + - css.properties.max-width.stretch + - css.properties.min-height.stretch + - css.properties.min-width.stretch + - css.properties.width.stretch