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

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