-
Notifications
You must be signed in to change notification settings - Fork 200
Add discouraged CSS features #2486
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
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
e5697f5
Adds `clip` deprecated feature
vwallen 020749d
Adds `color-adjust` deprecated feature
vwallen 96b78ef
Adds deprecated `device-*` media queries
vwallen 39c7412
Adds SVG-only writing mode values
vwallen f870769
Adds `glyph-orientation-vertical` deprecated feature
vwallen 52b7f59
Adds IME mode discouraged feature
vwallen 96d84ae
Adds `overflow: overlay` deprecated legacy feature
vwallen 32636dd
Adds `text-decoration-line: blink` deprecated feature
vwallen e982041
Adds `word-break: break-word` legacy deprecated feature
vwallen 0a2067d
Fixes incorrect key
vwallen 2b4af7d
Adds descriptions
vwallen 6a9036d
Merge branch 'web-platform-dx:main' into discouraged-css
jamesnw 37b1dba
Merge branch 'main' of github.com:web-platform-dx/web-features into d…
jamesnw c39b43c
Add caniuse key
jamesnw 7e16742
Update spec level
jamesnw 90dab52
Clip spec, re-run dist
jamesnw aa340a4
Merge branch 'main' into discouraged-css
jamesnw 6a391f6
Update description per suggestion
vwallen ac6b3ee
Merge branch 'main' into discouraged-css
vwallen 0bcb087
Merge branch 'main' into discouraged-css
vwallen acf700b
Apply suggestions from code review
vwallen f76a1fd
Changes device queries file name and updates dist
vwallen 1306f66
Renames writing mode svg values and updates dist
vwallen 2516b7d
Update features/word-break-break-word.yml
vwallen 0f9c720
Updates overflow description
vwallen 2386e69
Merge branch 'main' into discouraged-css
vwallen 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,14 @@ | ||
| name: clip | ||
| description: The `clip` CSS property sets the visible area of an absolutely positioned element. | ||
| spec: https://drafts.fxtf.org/css-masking-1/#clip-property | ||
| group: clipping-shapes-masking | ||
| discouraged: | ||
| according_to: | ||
| - https://drafts.fxtf.org/css-masking-1/#clip-property | ||
| alternatives: | ||
| - clip-path | ||
| compat_features: | ||
| - css.properties.clip | ||
| - css.properties.clip.auto | ||
| - css.types.shape | ||
| - css.types.shape.rect |
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,48 @@ | ||
| # Generated from: clip.yml | ||
| # Do not edit this file by hand. Edit the source file instead! | ||
|
|
||
| status: | ||
| baseline: false | ||
| support: | ||
| chrome: ≤80 | ||
| chrome_android: ≤80 | ||
| edge: ≤80 | ||
| firefox: ≤72 | ||
| firefox_android: ≤79 | ||
| safari: ≤13.1 | ||
| safari_ios: ≤13.4 | ||
| compat_features: | ||
| # baseline: false | ||
| # support: | ||
| # chrome: "1" | ||
| # chrome_android: "18" | ||
| # edge: "12" | ||
| # firefox: "1" | ||
| # firefox_android: "4" | ||
| # safari: "1" | ||
| # safari_ios: "1" | ||
| - css.properties.clip | ||
|
|
||
| # baseline: false | ||
| # support: | ||
| # chrome: "1" | ||
| # chrome_android: "18" | ||
| # edge: "12" | ||
| # firefox: "1" | ||
| # firefox_android: "4" | ||
| # safari: "1.3" | ||
| # safari_ios: "1" | ||
| - css.types.shape | ||
| - css.types.shape.rect | ||
|
|
||
| # ⬇️ Same status as overall feature ⬇️ | ||
| # baseline: false | ||
| # support: | ||
| # chrome: ≤80 | ||
| # chrome_android: ≤80 | ||
| # edge: ≤80 | ||
| # firefox: ≤72 | ||
| # firefox_android: ≤79 | ||
| # safari: ≤13.1 | ||
| # safari_ios: ≤13.4 | ||
| - css.properties.clip.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,11 @@ | ||
| name: color-adjust | ||
| description: The `color-adjust` shorthand CSS property allows multiple performance related color adjustments to be set at once. Setting the `print-color-adjust` CSS property directly is preferred, as it is the only such adjustment so far defined. | ||
| spec: https://drafts.csswg.org/css-color-adjust-1/#color-adjust | ||
| group: print | ||
| discouraged: | ||
| according_to: | ||
| - https://drafts.csswg.org/css-color-adjust-1/#color-adjust | ||
| alternatives: | ||
| - print-color-adjust | ||
| compat_features: | ||
| - css.properties.color-adjust | ||
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,12 @@ | ||
| # Generated from: color-adjust.yml | ||
| # Do not edit this file by hand. Edit the source file instead! | ||
|
|
||
| status: | ||
| baseline: false | ||
| support: | ||
| firefox: ≤72 | ||
| firefox_android: ≤79 | ||
| safari: "15.4" | ||
| safari_ios: "15.4" | ||
| compat_features: | ||
| - css.properties.color-adjust |
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,13 @@ | ||
| name: Device media queries | ||
| description: The `device-aspect-ratio`, `device-height`, and `device-width` media features describe physical properties of the displaying output device. | ||
| spec: https://drafts.csswg.org/mediaqueries-5/#mf-deprecated | ||
| group: media-queries | ||
| discouraged: | ||
| according_to: | ||
| - https://drafts.csswg.org/mediaqueries-5/#mf-deprecated | ||
| alternatives: | ||
| - media-queries | ||
| compat_features: | ||
| - css.at-rules.media.device-aspect-ratio | ||
| - css.at-rules.media.device-height | ||
| - css.at-rules.media.device-width |
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: device-queries.yml | ||
| # Do not edit this file by hand. Edit the source file instead! | ||
|
|
||
| status: | ||
| baseline: false | ||
| support: | ||
| chrome: "1" | ||
| chrome_android: "18" | ||
| edge: "12" | ||
| firefox: "2" | ||
| firefox_android: "4" | ||
| safari: "3" | ||
| safari_ios: "1" | ||
| compat_features: | ||
| - css.at-rules.media.device-aspect-ratio | ||
| - css.at-rules.media.device-height | ||
| - css.at-rules.media.device-width |
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,11 @@ | ||
| name: glyph-orientation-vertical | ||
| description: The `glyph-orientation-vertical` CSS property sets the orientation of glyphs in text rendered in a vertical writing mode. | ||
| spec: https://drafts.csswg.org/css-writing-modes-4/#glyph-orientation | ||
| group: css | ||
| discouraged: | ||
| according_to: | ||
| - https://drafts.csswg.org/css-writing-modes-4/#glyph-orientation | ||
| alternatives: | ||
| - text-orientation | ||
| compat_features: | ||
| - css.properties.glyph-orientation-vertical |
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 @@ | ||
| # Generated from: glyph-orientation-vertical.yml | ||
| # Do not edit this file by hand. Edit the source file instead! | ||
|
|
||
| status: | ||
| baseline: false | ||
| support: | ||
| safari: ≤13.1 | ||
| safari_ios: ≤13.4 | ||
| compat_features: | ||
| - css.properties.glyph-orientation-vertical |
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,9 @@ | ||
| name: ime-mode | ||
| description: The `ime-mode` CSS property sets the state of the input method editor for text fields. | ||
| spec: https://drafts.csswg.org/css-ui-3/#input-method-editor | ||
| group: css | ||
| discouraged: | ||
| according_to: | ||
| - https://drafts.csswg.org/css-ui-3/#input-method-editor | ||
| compat_features: | ||
| - css.properties.ime-mode |
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 @@ | ||
| # Generated from: ime-mode.yml | ||
| # Do not edit this file by hand. Edit the source file instead! | ||
|
|
||
| status: | ||
| baseline: false | ||
| support: | ||
| firefox: "3" | ||
| firefox_android: "4" | ||
| compat_features: | ||
| - css.properties.ime-mode |
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,12 @@ | ||
| name: "`overflow: overlay`" | ||
| description: "The `overflow: overlay` CSS declaration is an alias to `overflow: auto`. Historically, it caused non-standard behavior, allowing scrollbars to overlay content without taking up layout space." | ||
| spec: https://drafts.csswg.org/css-overflow-3/#propdef-overflow | ||
| group: css | ||
| caniuse: css-overflow-overlay | ||
| discouraged: | ||
| according_to: | ||
| - https://drafts.csswg.org/css-overflow-3/#valdef-overflow-overlay | ||
| alternatives: | ||
| - overflow-shorthand | ||
| compat_features: | ||
| - css.types.overflow.overlay |
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 @@ | ||
| # Generated from: overflow-overlay.yml | ||
| # Do not edit this file by hand. Edit the source file instead! | ||
|
|
||
| status: | ||
| baseline: false | ||
| support: | ||
| chrome: "15" | ||
| chrome_android: "100" | ||
| edge: "79" | ||
| firefox: "112" | ||
| firefox_android: "112" | ||
| safari: ≤13.1 | ||
| safari_ios: ≤13.4 | ||
| compat_features: | ||
| - css.types.overflow.overlay |
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,13 @@ | ||
| name: "`text-decoration-line: blink`" | ||
| description: "The `text-decoration: blink` CSS declaration flashes text between visible and invisible." | ||
| spec: https://drafts.csswg.org/css-text-decor-3/#valdef-text-decoration-line-blink | ||
| group: | ||
| - animation | ||
| - css | ||
| discouraged: | ||
| according_to: | ||
| - https://drafts.csswg.org/css-text-decor-3/#valdef-text-decoration-line-blink | ||
| alternatives: | ||
| - animations-css | ||
| compat_features: | ||
| - css.properties.text-decoration-line.blink |
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 @@ | ||
| # Generated from: text-decoration-line-blink.yml | ||
| # Do not edit this file by hand. Edit the source file instead! | ||
|
|
||
| status: | ||
| baseline: false | ||
| support: | ||
| chrome: "57" | ||
| chrome_android: "57" | ||
| edge: "79" | ||
| firefox: "36" | ||
| firefox_android: "36" | ||
| safari: "12.1" | ||
| safari_ios: "12.2" | ||
| compat_features: | ||
| - css.properties.text-decoration-line.blink |
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,11 @@ | ||
| name: "`word-break: break-word`" | ||
| description: "The `word-break: break-word` CSS declaration sets word breaks to occur according to their customary rules. Superseded by `overflow-wrap: anywhere`." | ||
| spec: https://drafts.csswg.org/css-text-3/#word-break-property | ||
| group: css | ||
| discouraged: | ||
| according_to: | ||
| - https://drafts.csswg.org/css-text/#valdef-word-break-break-word | ||
| alternatives: | ||
| - overflow-wrap | ||
| compat_features: | ||
| - css.properties.word-break.break-word |
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 @@ | ||
| # Generated from: word-break-break-word.yml | ||
| # Do not edit this file by hand. Edit the source file instead! | ||
|
|
||
| status: | ||
| baseline: false | ||
| support: | ||
| chrome: "1" | ||
| chrome_android: "18" | ||
| edge: "12" | ||
| firefox: "67" | ||
| firefox_android: "67" | ||
| safari: "3" | ||
| safari_ios: "2" | ||
| compat_features: | ||
| - css.properties.word-break.break-word |
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,16 @@ | ||
| name: writing-mode SVG 1.1 values | ||
| description: The `lr`, `lr-tb`, `rl`, `rl-tb`, `tb`, and `tb-rl` keyword values for the `writing-mode` CSS property set the text direction for elements in SVG 1.1 documents. | ||
| spec: https://drafts.csswg.org/css-writing-modes-4/#block-flow | ||
| group: css | ||
| discouraged: | ||
| according_to: | ||
| - https://drafts.csswg.org/css-writing-modes-4/#svg-writing-mode | ||
| alternatives: | ||
| - writing-mode | ||
| compat_features: | ||
| - css.properties.writing-mode.lr | ||
| - css.properties.writing-mode.lr-tb | ||
| - css.properties.writing-mode.rl | ||
| - css.properties.writing-mode.rl-tb | ||
| - css.properties.writing-mode.tb | ||
| - css.properties.writing-mode.tb-rl |
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,20 @@ | ||
| # Generated from: writing-mode-svg-values.yml | ||
| # Do not edit this file by hand. Edit the source file instead! | ||
|
|
||
| status: | ||
| baseline: false | ||
| support: | ||
| chrome: "48" | ||
| chrome_android: "48" | ||
| edge: "12" | ||
| firefox: "43" | ||
| firefox_android: "43" | ||
| safari: "10.1" | ||
| safari_ios: "10.3" | ||
| compat_features: | ||
| - css.properties.writing-mode.lr | ||
| - css.properties.writing-mode.lr-tb | ||
| - css.properties.writing-mode.rl | ||
| - css.properties.writing-mode.rl-tb | ||
| - css.properties.writing-mode.tb | ||
| - css.properties.writing-mode.tb-rl |
Oops, something went wrong.
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.
Non-blocking, just noting something here: we ought to come up with guidelines for whether to summarize the alternatives in the description or not.