[csswg-drafts] [css-shapes-2] Consider allowing `<position>` for the `from` and some other points (#10644)

smfr has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-shapes-2] Consider allowing `<position>` for the `from` and some other points ==
Splitting from https://github.com/w3c/csswg-drafts/issues/5841.

The `shape()` function in [CSS Shapes Level 2](https://drafts.csswg.org/css-shapes-2/) is specified with the `from` position being a `coordinate-pair`, but this doesn't allow for keywords like `top left`.

Similarly, you can't use `<position>` arguments as the `to` point or control points on the various commands. Maybe we could allow if it's an absolute (`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).


Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10644 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 20:07:29 UTC