Skip to content

Commit 6c8f8b6

Browse files
authored
Treat -webkit-line-clamp as a prefix of line-clamp (#22951)
This property is currently in an in-between state, in the progress of being standardized and implemented without a prefix, but still only supported with a prefix in all browsers. Renaming and using `prefic` aligns with https://caniuse.com/css-line-clamp and will make it possible for web-features to use this BCD entry to represent support of the unprefixed CSS property.
1 parent 85926a8 commit 6c8f8b6

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

css/properties/-webkit-line-clamp.json renamed to css/properties/line-clamp.json

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,26 @@
11
{
22
"css": {
33
"properties": {
4-
"-webkit-line-clamp": {
4+
"line-clamp": {
55
"__compat": {
66
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/-webkit-line-clamp",
7-
"spec_url": "https://drafts.csswg.org/css-overflow-4/#propdef--webkit-line-clamp",
7+
"spec_url": "https://drafts.csswg.org/css-overflow-4/#propdef-line-clamp",
88
"tags": [
99
"web-features:line-clamp"
1010
],
1111
"support": {
1212
"chrome": {
13-
"version_added": "6"
13+
"prefix": "-webkit-",
14+
"version_added": "6",
15+
"impl_url": "https://crbug.com/40336192"
1416
},
1517
"chrome_android": "mirror",
1618
"edge": {
19+
"prefix": "-webkit-",
1720
"version_added": "17"
1821
},
1922
"firefox": {
23+
"prefix": "-webkit-",
2024
"version_added": "68"
2125
},
2226
"firefox_android": "mirror",
@@ -27,6 +31,7 @@
2731
"opera": "mirror",
2832
"opera_android": "mirror",
2933
"safari": {
34+
"prefix": "-webkit-",
3035
"version_added": "5"
3136
},
3237
"safari_ios": "mirror",

0 commit comments

Comments
 (0)