You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One of the use cases for line-clamp etc. is truncating blockquotes, but there's a problem with the end quotation mark getting dropped when the text is ellipsized.
Should we exempt ::before/::after from trunctation and place it after the ellipsis?
Related issue for text-ellipsis: #9541 That one's trickier because you'd need to be tracking the stack of opening/closing punctuation.
The text was updated successfully, but these errors were encountered:
What if the ::after has lots of contents that would increase the number of lines?
I'm also not sure if it makes sense to always do this for ::after, and I could see authors wanting this behavior for a real element (e.g. in @yisibl's example the button should probably be an actual <button> so that it's keyboard navigable and such).
One of the use cases for line-clamp etc. is truncating blockquotes, but there's a problem with the end quotation mark getting dropped when the text is ellipsized.
Should we exempt ::before/::after from trunctation and place it after the ellipsis?
Related issue for
text-ellipsis
: #9541 That one's trickier because you'd need to be tracking the stack of opening/closing punctuation.The text was updated successfully, but these errors were encountered: