Re: [csswg-drafts] [css-overflow-4] Ellipsizing of text in middle of string (#3937)

Another case we have in Proton Drive: we want to keep the last characters to display the extension of a file (with long filename, for security reasons)

![image](https://github.com/user-attachments/assets/964e391c-b777-44b6-b82d-2cb763aa00ef)

We did implement a solution by splitting the filename thanks to this component https://github.com/ProtonMail/WebClients/blob/main/packages/components/components/ellipsis/MiddleEllipsis.tsx but when we have a mix of RTL/LTR, it's a nightmare.

A native solution with an offset would be really helpful there :) 

-- 
GitHub Notification of comment by nico3333fr
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3937#issuecomment-2413912057 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 15 October 2024 13:25:17 UTC