Re: [csswg-drafts] [css-shapes-2] Minor comments on shape() (#5841)

> Another comment: the `from` parameter to `shape()` is specified as a `coordinate-pair`, but that doesn't seem to allow keywords like `top left` which is natural for the "from" point, which is always absolute. Maybe a `<position>` here would be better?
> 
> Similarly, you can't use `<position>` arguments to the various commands; maybe allow, and if we encounter a `<position>` keyword it's an error if it's not a `to` point? This would enable very natural shapes like `shape(from center top, line to right center, line to center bottom, line to left center, close)`.

It's a good idea, Perhaps we can open an issue it can be added on top of the current spec without a backwards-compat problem? Otherwise we'll just pile more things on this list of small issues

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


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

Received on Tuesday, 30 July 2024 12:37:44 UTC