Skip to content

Commit 0770aaf

Browse files
jamesnwddbeck
andauthored
Add additional overflow keys (#2102)
Co-authored-by: Daniel D. Beck <[email protected]>
1 parent c55acfb commit 0770aaf

9 files changed

+51
-0
lines changed

features/custom-ellipsis.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
name: Custom ellipses
2+
description: The `text-overflow` CSS property with a string value sets the string representing clipped text.
3+
spec: https://drafts.csswg.org/css-overflow-4/#overflow-string
4+
compat_features:
5+
- css.properties.text-overflow.string

features/custom-ellipsis.yml.dist

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Generated from: custom-ellipsis.yml
2+
# Do not edit this file by hand. Edit the source file instead!
3+
4+
status:
5+
baseline: false
6+
support:
7+
firefox: "9"
8+
firefox_android: "9"
9+
compat_features:
10+
- css.properties.text-overflow.string

features/line-clamp.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,6 @@ description: "The `line-clamp` CSS property limits the text in a block container
33
spec: https://drafts.csswg.org/css-overflow-4/#line-clamp
44
group: css
55
caniuse: css-line-clamp
6+
compat_features:
7+
- css.properties.line-clamp
8+
- css.properties.line-clamp.none

features/line-clamp.yml.dist

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ status:
66
support: {}
77
compat_features:
88
- css.properties.line-clamp
9+
- css.properties.line-clamp.none

features/logical-properties.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,4 +90,6 @@ compat_features:
9090
- css.properties.padding-inline-end
9191
- css.properties.padding-inline-start
9292
- css.properties.overflow-block
93+
- css.properties.overflow-block.overlay
9394
- css.properties.overflow-inline
95+
- css.properties.overflow-inline.overlay

features/logical-properties.yml.dist

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,3 +210,10 @@ compat_features:
210210
# firefox_android: "79"
211211
- css.properties.overflow-block
212212
- css.properties.overflow-inline
213+
214+
# baseline: false
215+
# support:
216+
# firefox: "112"
217+
# firefox_android: "112"
218+
- css.properties.overflow-block.overlay
219+
- css.properties.overflow-inline.overlay

features/overflow-shorthand.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ description: The `overflow` CSS property sets the behavior for when content does
33
spec: https://drafts.csswg.org/css-overflow-3/#propdef-overflow
44
group: css
55
caniuse: css-overflow
6+
status:
7+
compute_from: css.properties.overflow.clip
68
compat_features:
79
- css.properties.overflow
810
- css.properties.overflow-x

features/text-overflow.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,11 @@ description: The `text-overflow` CSS property sets how hidden overflow content a
33
spec: https://drafts.csswg.org/css-overflow-4/#text-overflow
44
group: css
55
caniuse: text-overflow
6+
status:
7+
compute_from: css.properties.text-overflow
68
compat_features:
79
- css.properties.text-overflow
810
- css.properties.text-overflow.clip
911
- css.properties.text-overflow.ellipsis
1012
- svg.global_attributes.text-overflow
13+
- css.properties.text-overflow.two_value_syntax

features/text-overflow.yml.dist

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,25 @@ status:
1414
safari: "1.3"
1515
safari_ios: "1"
1616
compat_features:
17+
# ⬇️ Same status as overall feature ⬇️
18+
# baseline: high
19+
# baseline_low_date: 2015-07-29
20+
# baseline_high_date: 2018-01-29
21+
# support:
22+
# chrome: "1"
23+
# chrome_android: "18"
24+
# edge: "12"
25+
# firefox: "7"
26+
# firefox_android: "7"
27+
# safari: "1.3"
28+
# safari_ios: "1"
1729
- css.properties.text-overflow
1830
- css.properties.text-overflow.clip
1931
- css.properties.text-overflow.ellipsis
2032
- svg.global_attributes.text-overflow
33+
34+
# baseline: false
35+
# support:
36+
# firefox: "9"
37+
# firefox_android: "9"
38+
- css.properties.text-overflow.two_value_syntax

0 commit comments

Comments
 (0)