- From: Noam Rosenthal via GitHub <noreply@w3.org>
- Date: Sat, 18 Oct 2025 19:34:43 +0000
- To: public-css-archive@w3.org
Sounds like the number this corresponds to is `min(50% * width, 50% * height)`. Those high numbers happen to produce this effect because of the way radius constraining works. I wonder if the right direction here is [this comment](https://github.com/w3c/csswg-drafts/issues/6467#issuecomment-1124006844), e.g. have additional units that allow you to use the percentage of the opposite dimension, the same way you can use `vh` on width or `vmin`. Perhaps `%h`, `%v`, `%max`, `%min`. Also I'm sure these would be handy in the `shape()` function as well (and in other places that use this kind of percentage? background-sizing?) and not only for border-radius. -- GitHub Notification of comment by noamr Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6467#issuecomment-3418761321 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Saturday, 18 October 2025 19:34:44 UTC