Skip to content

Commit

Permalink
Add a status for unprefixed line-clamp (not supported at all yet) (#977)
Browse files Browse the repository at this point in the history
  • Loading branch information
foolip authored Apr 29, 2024
1 parent b11b29a commit 4c41cc3
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 2 deletions.
16 changes: 16 additions & 0 deletions feature-group-definitions/line-clamp.dist.yml
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
11 changes: 9 additions & 2 deletions feature-group-definitions/line-clamp.yml
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: {}

0 comments on commit 4c41cc3

Please sign in to comment.