Re: [csswg-drafts] [css-text-4 / css-overflow-4] Interaction of `text-wrap: balance` and `(-webkit-)line-clamp` (#9310)

I think an animation case is still one that is ok not to consider here. To reproduce it, an author must specify:

1. `line-clamp`
2. `text-wrap: balance`
3. Dynamically changing height.
4. Have a transition/animation for it (potentially requiring `calc-size`, as the common case is to expand fully to `auto`).

The issue from the current behavior (not pretty animation, which could be easily missed if it is ~200-300ms) is minor enough to grant a change this in other direction. As an author/designer, if I would encounter a case like this in my product, I'd either remove `text-wrap: balance`, or change the `line-clamp` to something different (like fading into a gradient), or just dismiss the issue.


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


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

Received on Wednesday, 24 April 2024 13:48:35 UTC