Skip to content

Commit

Permalink
Add CSS will-change (#1118)
Browse files Browse the repository at this point in the history
This is a Baseline 2020 feature.
  • Loading branch information
foolip authored Jun 3, 2024
1 parent 7da124f commit 19f384e
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
26 changes: 26 additions & 0 deletions features/will-change.dist.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Generated from: will-change.yml
# Do not edit this file by hand. Edit the source file instead!

name: will-change
description: "The `will-change` CSS property gives hints to the browser about expected changes to an element's scroll position, contents, or style. These hints allow browsers to optimize for upcoming style changes."
spec: https://drafts.csswg.org/css-will-change-1/
group: css
usage_stats: https://chromestatus.com/metrics/css/timeline/popularity/445
caniuse: will-change
status:
baseline: high
baseline_low_date: 2020-01-15
baseline_high_date: 2022-07-15
support:
chrome: "36"
chrome_android: "36"
edge: "79"
firefox: "36"
firefox_android: "36"
safari: "9.1"
safari_ios: "9.3"
compat_features:
- css.properties.will-change
- css.properties.will-change.auto
- css.properties.will-change.contents
- css.properties.will-change.scroll-position
11 changes: 11 additions & 0 deletions features/will-change.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: will-change
description: "The `will-change` CSS property gives hints to the browser about expected changes to an element's scroll position, contents, or style. These hints allow browsers to optimize for upcoming style changes."
spec: https://drafts.csswg.org/css-will-change-1/
group: css
usage_stats: https://chromestatus.com/metrics/css/timeline/popularity/445
caniuse: will-change
compat_features:
- css.properties.will-change
- css.properties.will-change.auto
- css.properties.will-change.contents
- css.properties.will-change.scroll-position

0 comments on commit 19f384e

Please sign in to comment.