W3C home > Mailing lists > Public > public-css-archive@w3.org > January 2021

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

From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
Date: Sat, 09 Jan 2021 00:49:54 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-757065556-1610153393-sysbot+gh@w3.org>
Okay, I've done an editorial pass over the spec, and specified the animation behavior. As a first draft, I just made sure it works the same as path(), as far as I can tell per <https://www.w3.org/TR/SVG2/paths.html#TheDProperty>. It's not very clear what the actual rules are - should the three line commands interpolate? The two quadratics and the two cubics?

> In SVG syntax you specify the control points before the end point. Is there a reason this was not followed here? The rationale behind that in SVG is that the point specified last in commands is where the pen ends up (where the next segment starts).

I actually prefer the current ordering, where all the commands immediately list their ending point and then have their extra info if needed; I think it reads well with the by/to keywords.  SVG's ordering made more sense with its implicit command chaining, imo.

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Saturday, 9 January 2021 00:49:57 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:31:38 UTC