Skip to content

[css-overflow-4] Should block-ellipsis clip ::before/::after text? #11253

@fantasai

Description

@fantasai

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Agenda+css-overflow-4topic: line-clampline-clamp, -webkit-line-clamp, and related long hands, not including continue:discard

    Type

    No type

    Projects

    Status

    Agenda+

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions