[html5] Standard way for line-clamp?
Oliver Sartun
osartun at gmail.com
Fri Jun 16 04:56:39 PDT 2017
Hello Simon,
2017-06-14 22:05 GMT+02:00 Simon Pieters <simonp at opera.com>:
> On Thu, 20 Apr 2017 17:00:02 +0200, Oliver Sartun <osartun at gmail.com> wrote:
>
>> Hey everyone,
>>
>> I was wondering if there's a standardized alternative to using
>> -webkit-line-clamp. CanIUse says that line-clamp is a relic from an
>> outdated flexbox implementation
>> (http://caniuse.com/#feat=css-line-clamp). I'm seeing so many articles
>> about how to get the effect in non-webkit browsers with CSS tricks or
>> even JavaScript-based solutions – some articles even dating back to
>> 2012. So, apparently there's a need for a universal solution, but so
>> far I haven't heard of any. Are there attempts to standardize this? Or
>> does a standard solution already exist and I just haven't heard of it,
>> yet?
>
>
> Hello Oliver,
>
> CSS issues should be reported at
> https://github.com/w3c/csswg-drafts/issues/new
Thank you! By now I heard from Tab Atkins that this issue is already
on his mind. So, there isn't a standard solution yet, but it's in
consideration (although it doesn't have the highest priority, so it's
not gonna be around anytime soon). That's all I ever wanted. :D
Thanks,
Oli
More information about the Help
mailing list