Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
6 changes: 6 additions & 0 deletions features/calc-size.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
name: calc-size()
description: The `calc-size()` CSS function computes mathematical expressions that include `height` and `weight` keyword values, for example `calc-size(fit-content, size / 2)`. Not to be confused with the `calc()` CSS function, which cannot use keyword values.
spec: https://drafts.csswg.org/css-values-5/#calc-size
group: css
compat_features:
- css.types.calc-size
11 changes: 11 additions & 0 deletions features/calc-size.yml.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Generated from: calc-size.yml
# Do not edit this file by hand. Edit the source file instead!

status:
baseline: false
support:
chrome: "129"
chrome_android: "129"
edge: "129"
compat_features:
- css.types.calc-size
5 changes: 5 additions & 0 deletions features/calc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,10 @@ description: The `calc()` CSS function computes mathematical expressions such a
spec: https://drafts.csswg.org/css-values-3/#calc-notation
group: css
caniuse: calc
status:
compute_from: css.types.calc
compat_features:
- css.types.calc
- css.types.calc.gradient_color_stops
- css.types.calc.nested
- css.types.calc.number_values
51 changes: 51 additions & 0 deletions features/calc.yml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,55 @@ status:
safari: "7"
safari_ios: "7"
compat_features:
# ⬇️ Same status as overall feature ⬇️
# baseline: high
# baseline_low_date: 2015-07-29
# baseline_high_date: 2018-01-29
# support:
# chrome: "26"
# chrome_android: "28"
# edge: "12"
# firefox: "16"
# firefox_android: "16"
# safari: "7"
# safari_ios: "7"
- css.types.calc

# baseline: high
# baseline_low_date: 2015-07-29
# baseline_high_date: 2018-01-29
# support:
# chrome: "26"
# chrome_android: "28"
# edge: "12"
# firefox: "19"
# firefox_android: "19"
# safari: "7"
# safari_ios: "7"
- css.types.calc.gradient_color_stops

# baseline: high
# baseline_low_date: 2016-08-02
# baseline_high_date: 2019-02-02
# support:
# chrome: "31"
# chrome_android: "31"
# edge: "12"
# firefox: "48"
# firefox_android: "48"
# safari: "7"
# safari_ios: "7"
- css.types.calc.number_values

# baseline: high
# baseline_low_date: 2017-10-17
# baseline_high_date: 2020-04-17
# support:
# chrome: "51"
# chrome_android: "51"
# edge: "16"
# firefox: "48"
# firefox_android: "48"
# safari: "11"
# safari_ios: "11"
- css.types.calc.nested