-
Notifications
You must be signed in to change notification settings - Fork 199
Add background group #1846
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Add background group #1846
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
a96e692
Add backgrounds group, background-attachment
jamesnw 6acbe45
Add background-clip border-area
jamesnw 5132bd4
Remove dupe keys
jamesnw 6096030
Add background-repeat
jamesnw 5a09c86
Add background-size
jamesnw e6b6ea3
Add background and background-color
jamesnw f26331e
Undo draft changes
jamesnw 415a0b7
Merge branch 'main' of github.com:web-platform-dx/web-features into b…
jamesnw 4586168
Review
jamesnw File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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. |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Opened Fyrd/caniuse#7178