W3C home > Mailing lists > Public > public-css-archive@w3.org > November 2020

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

From: Noam Rosenthal via GitHub <sysbot+gh@w3.org>
Date: Sat, 14 Nov 2020 11:42:45 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-727194336-1605354163-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:22 UTC