Re: [csswg-drafts] [css-shapes-2] WIP: Add a draw() shape syntax, which accepts shape-segments equivalent to (#5711)

A couple of things I could use feedback about:

- WDYT of my suggestion to use `draw()` as the function keyword? It corresponds with SVG's `d` and is more specific than `shape()` and differentiates from `path()`.
- Not sure about including an `arc` syntax at all. It's been a long outstanding issue in SVG to try to find a better syntax for it, I feel that maybe we're making that clunky syntax last longer than it should. Perhaps bezier curves are sufficient for the first version (bezier curves and arcs are interchangeable);
- Thinking that we can do a better job with animations than how `path()` is animated: enable animating between lines/curves/arcs by converting all of them to bezier curves.

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


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

Received on Saturday, 14 November 2020 11:42:46 UTC