Add a new attribute for ellipsis

Can you guys add a new attribute for text ellipsis using word limit? Like after certain words the text will ellipse using a new attribute like word-limit: 20; rather than using line-clamp or max-width.

Hi @topurayhan007 and welcome to the community :wave:

MDN Web Docs is about documenting the web. New ideas about CSS are better directed to the CSS Working Group: https://www.w3.org/Style/CSS/.

That being said can you tell more about your use case? Since the width of 20 words can vary very much, I’m interested where this could be useful.

Have a nice day,
Michael