Skip to content
Merged
7 changes: 7 additions & 0 deletions features/all.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
name: all
description: The `all` CSS property is a shorthand for all CSS properties, except for `direction` and `unicode-bidi`. It accepts only the keywords for explicit defaulting (such as `initial` and `inherit`), since they are the only values supported on all CSS properties.
spec: https://drafts.csswg.org/css-cascade-6/
group: explicit-defaults
caniuse: css-all
compat_features:
- css.properties.all
17 changes: 17 additions & 0 deletions features/all.yml.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Generated from: all.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: "37"
chrome_android: "37"
edge: "79"
firefox: "27"
firefox_android: "27"
safari: "9.1"
safari_ios: "9.3"
compat_features:
- css.properties.all
12 changes: 11 additions & 1 deletion features/cascade-layers.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
name: Cascade layers
description: The `@layer` CSS at-rule avoids specificity conflicts by providing priority levels for different groups of CSS rules, such as low-priority styles like resets, and high-priority styles like UI components.
spec: https://drafts.csswg.org/css-cascade-5/#layering
spec: https://drafts.csswg.org/css-cascade-5/
group: css
caniuse: css-cascade-layers
compat_features:
- api.CSSImportRule.layerName
- api.CSSLayerBlockRule
- api.CSSLayerBlockRule.name
- api.CSSLayerStatementRule
- api.CSSLayerStatementRule.nameList
- css.at-rules.import.layer
- css.at-rules.layer
# revert-layer would ideally be grouped with both cascade-layers and explicit-defaults
- css.types.global_keywords.revert-layer
1 change: 1 addition & 0 deletions features/cascade-layers.yml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@ compat_features:
- api.CSSLayerStatementRule.nameList
- css.at-rules.import.layer
- css.at-rules.layer
- css.types.global_keywords.revert-layer
2 changes: 1 addition & 1 deletion features/draft/spec/css-cascade-6.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ compat_features:
- css.types.global_keywords.inherit
- css.types.global_keywords.initial
- css.types.global_keywords.revert
- css.types.global_keywords.revert-layer
- css.types.global_keywords.unset

# The following features in the spec are already part of web-features:
Expand All @@ -18,6 +17,7 @@ compat_features:
# - api.CSSLayerStatementRule.nameList
# - css.at-rules.import.layer
# - css.at-rules.layer
# - css.types.global_keywords.revert-layer
# - @scope:
# - api.CSSScopeRule
# - api.CSSScopeRule.end
Expand Down
33 changes: 10 additions & 23 deletions features/draft/spec/css-cascade-6.yml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@

status:
baseline: high
baseline_low_date: 2022-03-14
baseline_high_date: 2024-09-14
baseline_low_date: 2020-07-27
baseline_high_date: 2023-01-27
support:
chrome: "99"
chrome_android: "99"
edge: "99"
firefox: "97"
firefox_android: "97"
safari: "15.4"
safari_ios: "15.4"
chrome: "84"
chrome_android: "84"
edge: "84"
firefox: "67"
firefox_android: "67"
safari: "9.1"
safari_ios: "9.3"
compat_features:
# baseline: high
# baseline_low_date: 2015-07-29
Expand Down Expand Up @@ -66,6 +66,7 @@ compat_features:
# safari_ios: "9.3"
- css.properties.all

# ⬇️ Same status as overall feature ⬇️
# baseline: high
# baseline_low_date: 2020-07-27
# baseline_high_date: 2023-01-27
Expand All @@ -78,17 +79,3 @@ compat_features:
# safari: "9.1"
# safari_ios: "9.3"
- css.types.global_keywords.revert

# ⬇️ Same status as overall feature ⬇️
# baseline: high
# baseline_low_date: 2022-03-14
# baseline_high_date: 2024-09-14
# support:
# chrome: "99"
# chrome_android: "99"
# edge: "99"
# firefox: "97"
# firefox_android: "97"
# safari: "15.4"
# safari_ios: "15.4"
- css.types.global_keywords.revert-layer
6 changes: 6 additions & 0 deletions features/inherit-value.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
name: inherit
description: The `inherit` keyword resets any CSS property to the computed value of that property from the parent element.
group: explicit-defaults
spec: https://drafts.csswg.org/css-cascade-3/#inherit
compat_features:
- css.types.global_keywords.inherit
17 changes: 17 additions & 0 deletions features/inherit-value.yml.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Generated from: inherit-value.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:
- css.types.global_keywords.inherit
7 changes: 7 additions & 0 deletions features/initial-value.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
name: initial
description: The `initial` keyword resets any CSS property to its initial value as defined by the specification. For example, the `initial` value of the `display` property is `inline`, regardless of the element being styled. Not to be confused with `revert`, which resets to the user or browser default style.
group: explicit-defaults
spec: https://drafts.csswg.org/css-cascade-3/#initial
caniuse: css-initial-value
compat_features:
- css.types.global_keywords.initial
17 changes: 17 additions & 0 deletions features/initial-value.yml.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Generated from: initial-value.yml
# Do not edit this file by hand. Edit the source file instead!

status:
baseline: high
baseline_low_date: 2015-11-12
baseline_high_date: 2018-05-12
support:
chrome: "1"
chrome_android: "18"
edge: "13"
firefox: "19"
firefox_android: "19"
safari: "1.2"
safari_ios: "1"
compat_features:
- css.types.global_keywords.initial
7 changes: 7 additions & 0 deletions features/revert-value.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
name: revert
description: "The `revert` CSS keyword resets any property to its previous default, provided by either the user or browser stylesheets. For example, setting `display: revert` on a `<div>` will likely result in `display: block`, the browser default style. This is often confused with `initial`."
group: explicit-defaults
spec: https://drafts.csswg.org/css-cascade-4/#default
caniuse: css-revert-value
compat_features:
- css.types.global_keywords.revert
17 changes: 17 additions & 0 deletions features/revert-value.yml.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Generated from: revert-value.yml
# Do not edit this file by hand. Edit the source file instead!

status:
baseline: high
baseline_low_date: 2020-07-27
baseline_high_date: 2023-01-27
support:
chrome: "84"
chrome_android: "84"
edge: "84"
firefox: "67"
firefox_android: "67"
safari: "9.1"
safari_ios: "9.3"
compat_features:
- css.types.global_keywords.revert
7 changes: 7 additions & 0 deletions features/unset-value.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
name: unset
description: The `unset` keyword resets any CSS property, removing any values previously set by the author, user, or browser. Inherited properties (like `color`) reset to the parent element's computed value. Non-inherited properties (like `display`) reset to the specified initial value (`inline`).
group: explicit-defaults
spec: https://drafts.csswg.org/css-cascade-3/#inherit-initial
caniuse: css-unset-value
compat_features:
- css.types.global_keywords.unset
17 changes: 17 additions & 0 deletions features/unset-value.yml.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Generated from: unset-value.yml
# Do not edit this file by hand. Edit the source file instead!

status:
baseline: high
baseline_low_date: 2016-03-21
baseline_high_date: 2018-09-21
support:
chrome: "41"
chrome_android: "41"
edge: "13"
firefox: "27"
firefox_android: "27"
safari: "9.1"
safari_ios: "9.3"
compat_features:
- css.types.global_keywords.unset
3 changes: 3 additions & 0 deletions groups/explicit-defaults.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# https://drafts.csswg.org/css-cascade/
name: Explicit defaults
parent: css