Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
10 changes: 10 additions & 0 deletions features/background-attachment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: background-attachment
description: The `background-attachment` CSS property sets whether an element's background image or gradient moves as the element scrolls.
spec: https://drafts.csswg.org/css-backgrounds-3/#the-background-attachment
group: background
caniuse: background-attachment
compat_features:
- css.properties.background-attachment
- css.properties.background-attachment.fixed
- css.properties.background-attachment.local
- css.properties.background-attachment.scroll
56 changes: 56 additions & 0 deletions features/background-attachment.yml.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# Generated from: background-attachment.yml
# Do not edit this file by hand. Edit the source file instead!

status:
baseline: high
baseline_low_date: 2022-03-14
baseline_high_date: 2024-09-14
support:
chrome: "1"
chrome_android: "18"
edge: "12"
firefox: "25"
firefox_android: "25"
safari: "15.4"
safari_ios: "15.4"
compat_features:
# 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: "3.2"
- css.properties.background-attachment
- css.properties.background-attachment.scroll

# baseline: high
# baseline_low_date: 2022-03-14
# baseline_high_date: 2024-09-14
# support:
# chrome: "1"
# chrome_android: "18"
# edge: "12"
# firefox: "2"
# firefox_android: "4"
# safari: "15.4"
# safari_ios: "15.4"
- css.properties.background-attachment.fixed

# ⬇️ Same status as overall feature ⬇️
# baseline: high
# baseline_low_date: 2022-03-14
# baseline_high_date: 2024-09-14
# support:
# chrome: "1"
# chrome_android: "18"
# edge: "12"
# firefox: "25"
# firefox_android: "25"
# safari: "15.4"
# safari_ios: "15.4"
- css.properties.background-attachment.local
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you file a bug or PR with caniuse, showing that this whole feature is fully supported? This issue has been resolved and it seems like caniuse just hasn't caught on yet. https://bugs.webkit.org/show_bug.cgi?id=219324

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

5 changes: 5 additions & 0 deletions features/background-clip-border-area.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Note: This is a subfeature of background-clip and may eventually merge into that.
name: "background-clip: border-area"
description: "The `background-clip: border-area` CSS declaration draws the background underneath only the border of an element."
spec: https://drafts.csswg.org/css-backgrounds-4/#background-clip
group: background
8 changes: 8 additions & 0 deletions features/background-clip-border-area.yml.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Generated from: background-clip-border-area.yml
# Do not edit this file by hand. Edit the source file instead!

status:
baseline: false
support: {}
compat_features:
- css.properties.background-clip.border-area
2 changes: 1 addition & 1 deletion features/background-clip-text.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
name: "background-clip: text"
description: "The `background-clip: text` CSS declaration draws the background underneath only the text in the element."
spec: https://drafts.csswg.org/css-backgrounds-4/#background-clip
group: css
group: background
2 changes: 1 addition & 1 deletion features/background-clip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
name: background-clip
description: "The `background-clip` CSS property sets the extent of the background: the padding box, the content box, or the default border box."
spec: https://drafts.csswg.org/css-backgrounds-3/#background-clip
group: css
group: background
6 changes: 6 additions & 0 deletions features/background-color.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
name: background-color
description: The `background-color` CSS property sets the fill color of an element, behind any content and background images or gradients.
spec: https://drafts.csswg.org/css-backgrounds-3/#background-color
group: background
compat_features:
- css.properties.background-color
17 changes: 17 additions & 0 deletions features/background-color.yml.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Generated from: background-color.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.properties.background-color
15 changes: 15 additions & 0 deletions features/background-repeat.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: background-repeat
description: The `background-repeat` CSS property sets how a background image is tiled.
spec: https://drafts.csswg.org/css-backgrounds-3/#background-repeat
caniuse: background-repeat-round-space
group: background
compat_features:
- css.properties.background-repeat
- css.properties.background-repeat.multiple_backgrounds
- css.properties.background-repeat.no-repeat
- css.properties.background-repeat.repeat
- css.properties.background-repeat.repeat-x
- css.properties.background-repeat.repeat-y
- css.properties.background-repeat.round
- css.properties.background-repeat.space
- css.properties.background-repeat.2-value
73 changes: 73 additions & 0 deletions features/background-repeat.yml.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
# Generated from: background-repeat.yml
# Do not edit this file by hand. Edit the source file instead!

status:
baseline: high
baseline_low_date: 2016-09-20
baseline_high_date: 2019-03-20
support:
chrome: "30"
chrome_android: "30"
edge: "12"
firefox: "49"
firefox_android: "49"
safari: "8"
safari_ios: "8"
compat_features:
# 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"
- css.properties.background-repeat
- css.properties.background-repeat.no-repeat
- css.properties.background-repeat.repeat
- css.properties.background-repeat.repeat-x
- css.properties.background-repeat.repeat-y

# baseline: high
# baseline_low_date: 2015-07-29
# baseline_high_date: 2018-01-29
# support:
# chrome: "1"
# chrome_android: "18"
# edge: "12"
# firefox: "3.6"
# firefox_android: "4"
# safari: "1.3"
# safari_ios: "1"
- css.properties.background-repeat.multiple_backgrounds

# baseline: high
# baseline_low_date: 2015-07-29
# baseline_high_date: 2018-01-29
# support:
# chrome: "3"
# chrome_android: "18"
# edge: "12"
# firefox: "13"
# firefox_android: "14"
# safari: "5"
# safari_ios: "4"
- css.properties.background-repeat.2-value

# ⬇️ Same status as overall feature ⬇️
# baseline: high
# baseline_low_date: 2016-09-20
# baseline_high_date: 2019-03-20
# support:
# chrome: "30"
# chrome_android: "30"
# edge: "12"
# firefox: "49"
# firefox_android: "49"
# safari: "8"
# safari_ios: "8"
- css.properties.background-repeat.round
- css.properties.background-repeat.space
10 changes: 10 additions & 0 deletions features/background-size.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: background-size
description: The `background-size` CSS property scales or stretches a background based on the size of the element (with the `contain` and `cover` keywords), a length, or percentage.
spec: https://drafts.csswg.org/css-backgrounds-3/#background-size
group: background
compat_features:
- css.properties.background-size
- css.properties.background-size.auto
- css.properties.background-size.contain
- css.properties.background-size.cover
- css.properties.background.background-size
56 changes: 56 additions & 0 deletions features/background-size.yml.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# Generated from: background-size.yml
# Do not edit this file by hand. Edit the source file instead!

status:
baseline: high
baseline_low_date: 2020-07-28
baseline_high_date: 2023-01-28
support:
chrome: "21"
chrome_android: "25"
edge: "12"
firefox: ≤72
firefox_android: "79"
safari: "5.1"
safari_ios: "4.2"
compat_features:
# baseline: high
# baseline_low_date: 2015-07-29
# baseline_high_date: 2018-01-29
# support:
# chrome: "3"
# chrome_android: "18"
# edge: "12"
# firefox: "4"
# firefox_android: "4"
# safari: "5"
# safari_ios: "4.2"
- css.properties.background-size
- css.properties.background-size.contain
- css.properties.background-size.cover

# baseline: high
# baseline_low_date: 2015-07-29
# baseline_high_date: 2018-01-29
# support:
# chrome: "21"
# chrome_android: "25"
# edge: "12"
# firefox: "9"
# firefox_android: "18"
# safari: "5.1"
# safari_ios: "4"
- css.properties.background.background-size

# baseline: high
# baseline_low_date: 2020-07-28
# baseline_high_date: 2023-01-28
# support:
# chrome: "3"
# chrome_android: "18"
# edge: "12"
# firefox: ≤72
# firefox_android: "79"
# safari: "5"
# safari_ios: "4.2"
- css.properties.background-size.auto
6 changes: 6 additions & 0 deletions features/background.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
name: background
description: The `background` CSS property is a shorthand that sets several background properties at once.
spec: https://drafts.csswg.org/css-backgrounds-3/#background
group: background
compat_features:
- css.properties.background
17 changes: 17 additions & 0 deletions features/background.yml.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Generated from: background.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.properties.background
3 changes: 3 additions & 0 deletions groups/background.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
name: Background
parent: css
#description: The background CSS properties set the display of the layers behind an element's main content.