[csswg-drafts] [css-shapes] Overload `path()` for CSS-y SVG path syntax instead of taking up `shape()` (#10647)

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

== [css-shapes] Overload `path()` for CSS-y SVG path syntax instead of taking up `shape()` ==
Apparently [WebKit is implementing](https://github.com/w3c/csswg-drafts/issues/5841#issuecomment-2254583993) `shape()` so this is somewhat urgent.

SVG paths don't have the best ergonomics, and there have been long discussions about how to improve on the ergonomics as well, not just expose the existing model with CSS syntax. See #9889 for one discussion on this

Can we perhaps overload `path()` for the API that is mapped closely to SVG paths so that `shape()` is free to host something better without having to worry about disambiguation?

The current signature of `path()` is very weird anyway, so it would be good to make it sensible.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10647 using your GitHub account


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

Received on Wednesday, 31 July 2024 14:34:39 UTC