-
Notifications
You must be signed in to change notification settings - Fork 106
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a status for unprefixed line-clamp (not supported at all yet) (#977)
- Loading branch information
Showing
2 changed files
with
25 additions
and
2 deletions.
There are no files selected for viewing
This file contains 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 @@ | ||
# Generated from: line-clamp.yml | ||
# Do not edit this file by hand. Edit the source file instead! | ||
|
||
name: line-clamp | ||
description: "The `line-clamp` CSS property limits the text in a block container to a certain number of lines. The prefixed `-webkit-line-clamp` is widely supported but only works with `-webkit-box-orient: vertical` in combination with `display: -webkit-box` or `display: -webkit-inline-box`." | ||
spec: https://drafts.csswg.org/css-overflow-4/#line-clamp | ||
caniuse: css-line-clamp | ||
# Since BCD has an entry for -webkit-line-clamp but none for unprefixed | ||
# line-clamp, we need an override to represent that no browser supports this. If | ||
# https://github.com/mdn/browser-compat-data/pull/22951 is merged, this can be | ||
# removed: | ||
status: | ||
baseline: false | ||
support: {} | ||
compat_features: | ||
- css.properties.-webkit-line-clamp |
This file contains 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 |
---|---|---|
@@ -1,4 +1,11 @@ | ||
name: line-clamp | ||
description: The `line-clamp` CSS property limits the text in a block container to a certain number of lines. | ||
spec: https://drafts.csswg.org/css-overflow-3/#line-clamp | ||
description: "The `line-clamp` CSS property limits the text in a block container to a certain number of lines. The prefixed `-webkit-line-clamp` is widely supported but only works with `-webkit-box-orient: vertical` in combination with `display: -webkit-box` or `display: -webkit-inline-box`." | ||
spec: https://drafts.csswg.org/css-overflow-4/#line-clamp | ||
caniuse: css-line-clamp | ||
# Since BCD has an entry for -webkit-line-clamp but none for unprefixed | ||
# line-clamp, we need an override to represent that no browser supports this. If | ||
# https://github.com/mdn/browser-compat-data/pull/22951 is merged, this can be | ||
# removed: | ||
status: | ||
baseline: false | ||
support: {} |