-
Notifications
You must be signed in to change notification settings - Fork 757
Open
Labels
Agenda+css-overflow-4topic: line-clampline-clamp, -webkit-line-clamp, and related long hands, not including continue:discardline-clamp, -webkit-line-clamp, and related long hands, not including continue:discard
Description
The CSS Overflow Module Level 4 draft specifies inconsistent bidirectional (bidi) handling for the ellipsis generated by text-overflow versus the one generated by the line-clamp property.
text-overflow: ellipsis: The specification implies that the ellipsis is part of its paragraph for bidi purposes. Implementations typically treat it as inheriting the direction of the line it is attached to.line-clamp(block-ellipsis): The specification for block-ellipsis states that it behaves as if it hadunicode-bidi: plaintext.
This leads to two different implementation approaches for what is visually the same feature:
- text-overflow ellipsis inherits the parent's direction.
- line-clamp ellipsis uses plaintext logic to determine its direction.
This difference in behavior is surprising and seems unintentional. We'd like to ensure this behavior.
Context: https://chromium-review.googlesource.com/c/chromium/src/+/6817921/comment/c4178435_9956b836/
berlysia
Metadata
Metadata
Assignees
Labels
Agenda+css-overflow-4topic: line-clampline-clamp, -webkit-line-clamp, and related long hands, not including continue:discardline-clamp, -webkit-line-clamp, and related long hands, not including continue:discard
Type
Projects
Status
Agenda+