-
Notifications
You must be signed in to change notification settings - Fork 756
Open
Labels
Description
https://drafts.csswg.org/css-overflow/ - I suppose.
Author should be able to control the way ellipsis happens and is computed, here is a simple example I face (I'm developing ProtonMail v4):
<span class="ellipsis">
<span class="inline name">test account</span>
<span class="inline mail opacity-50"><testaccount@protonmail.com></span>
</span>
Actually, I've to set up everything inline and apply the ellipsis on the entire block. Could be nice to be able to get something like this:
test account <testaccount@proton...>test account <...>test accou...
In this case, I would need:
- something that allows me to say
text-overflow: ellipsis <please use the color of the child element that is ellipsized>(which is currently not the case) - better: a kind of parameter for the "priority" on how to apply ellipsis stuff
