- From: Lea Verou via GitHub <noreply@w3.org>
- Date: Thu, 30 Oct 2025 04:40:09 +0000
- To: public-css-archive@w3.org
> > Does it make sense now? > > No. How is that supposed to work? Unless there is overflow, 100% won't be greater than 100cqw, so the minimum will just be 100%. I don't see how adding this min() with a registered property would do anything. - Percentages resolve based on the decorating box (see https://github.com/w3c/csswg-drafts/issues/8403#issuecomment-3396895682) - Animating to `100cqw` means every line animates at the same speed because it's animating between the same start and end value - Registering the property makes it interpolatable - `min(100%, var(--text-decoration-max-length))` ensures that we never get more than the max line length. Shorter lines would just stop earlier. It's basically the same way people used to animate `height: auto` (via `max-height`) before we got `calc-size()`. -- GitHub Notification of comment by LeaVerou Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8403#issuecomment-3466106967 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 30 October 2025 04:40:10 UTC