Description
Description
The line-clamp
CSS property still needs a -webkit-
prefix and some additional non-standard properties (display: -webkit-box
and -webkit-box-orient: vertical
) to be set in Chromium, WebKit and Firefox. Chromium is currently working on implementing the unprefixed property. Implementing this new standardized property, which differs significantly from the old non-standard -webkit-line-clamp
property, likely needs a lot of work from an implementation standpoint.
This issue is one of seven issues regarding unprefixing CSS properties/values, originally all in #702 (as per #702 (comment)). The aim is to group the properties together into multiple (but not seven) focus areas.
Specification
https://drafts.csswg.org/css-overflow-4/#line-clamp
Additional Signals
These are mostly copy-pasted from @ccpandhare's comment. Thank you Chinmay!
- What interop tests if any this affects:
- Site breakage and workaround
- No breakage as we currently polyfill, but as a result we have code size increase and small parse time and runtime perf regressions.
- Size and current state of the feature
- Size: Not sure
- Current state: Works with vendor prefixes, with slightly different implementations across browsers
- Browser bug trackers:
- Stack Overflow/blog posts referring to this
- StackOverflow [1] (48k views, 7 years old)
- StackOverflow [2] (1k views, 3 years old)
- StackOverflow [3] (13k views, 5 years old)
Metadata
Metadata
Assignees
Labels
Type
Projects
Status