Skip to content

Commit 19f384e

Browse files
authored
Add CSS will-change (#1118)
This is a Baseline 2020 feature.
1 parent 7da124f commit 19f384e

File tree

2 files changed

+37
-0
lines changed

2 files changed

+37
-0
lines changed

features/will-change.dist.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# Generated from: will-change.yml
2+
# Do not edit this file by hand. Edit the source file instead!
3+
4+
name: will-change
5+
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."
6+
spec: https://drafts.csswg.org/css-will-change-1/
7+
group: css
8+
usage_stats: https://chromestatus.com/metrics/css/timeline/popularity/445
9+
caniuse: will-change
10+
status:
11+
baseline: high
12+
baseline_low_date: 2020-01-15
13+
baseline_high_date: 2022-07-15
14+
support:
15+
chrome: "36"
16+
chrome_android: "36"
17+
edge: "79"
18+
firefox: "36"
19+
firefox_android: "36"
20+
safari: "9.1"
21+
safari_ios: "9.3"
22+
compat_features:
23+
- css.properties.will-change
24+
- css.properties.will-change.auto
25+
- css.properties.will-change.contents
26+
- css.properties.will-change.scroll-position

features/will-change.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
name: will-change
2+
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."
3+
spec: https://drafts.csswg.org/css-will-change-1/
4+
group: css
5+
usage_stats: https://chromestatus.com/metrics/css/timeline/popularity/445
6+
caniuse: will-change
7+
compat_features:
8+
- css.properties.will-change
9+
- css.properties.will-change.auto
10+
- css.properties.will-change.contents
11+
- css.properties.will-change.scroll-position

0 commit comments

Comments
 (0)