Hey! CSS developers! I want to hear from you.
I'm improving the way line clamping works in Chrome and in the specs. The existing -webkit-line-clamp property is a mess, because it will only do something if you have other properties (which are legacy versions of flexbox properties), and we can't fix that because of web compat. But we can add a new line-clamp property without those issues!
But right now I'm dealing with what should happen if you have both properties set on the same element:
line-clamp: 3;
-webkit-line-clamp: 4;
(Note that if we remove line-clamp: 3, this wouldn't clamp, because display: block prevents -webkit-line-clamp from working.)
So what do you think should happen?
[#]css #CSSWG
=> More informations about this toot | View the thread | More toots from andreu@andreubotella.com
=> View css tag | View csswg tag This content has been proxied by September (3851b).Proxy Information
text/gemini