You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This GitHub issue is for collecting web developer signals for line-clamp.
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.
Browser support
Chrome: not supported
Chrome Android: not supported
Edge: not supported
Firefox: not supported
Firefox for Android: not supported
Safari: not supported
Safari on iOS: not supported
Give us feedback
If you're pressed for time, but you want this feature to be available in all browsers, please give this issue a thumbs up 👍 reaction.
However, a much better guide for us is to know how you'd use this feature, and what you're having to do in the meantime. This helps us judge the priority versus other features.
Copy the template below in a comment, and add the details that matter to you.
## What I want to do with this feature<!-- Add your specific use-cases, even if they seem obvious to you. -->## What I'm having to do in the meantime<!--Are you having to use another feature instead, a polyfill, or is it blocking you completely?Why are the alternatives worse than using this feature?-->
It enables relative predictability of the height of the text block across different scripts and fonts, whilst the text is being truncated at the right length [for the given script and font]. This is impossible to calculate at the server-side, outside of the client, as the used font and dimensions of the resulting rectangle cannot be known in advance.
Reacted by phantomxx29474
fernandoatorres13-creator commented on Aug 15, 2026
Activity
stehlo1 commentedon Jul 16, 2026
It enables relative predictability of the height of the text block across different scripts and fonts, whilst the text is being truncated at the right length [for the given script and font]. This is impossible to calculate at the server-side, outside of the client, as the used font and dimensions of the resulting rectangle cannot be known in advance.
fernandoatorres13-creator commentedon Aug 15, 2026
Pls restricted the FF Flip letters
fernandoatorres13-creator commentedon Aug 15, 2026
And tyyy
fernandoatorres13-creator commentedon Aug 15, 2026
#267