Re: [csswg-drafts] [css-shapes-2] Order of points and control points in `shape()` (#10666)

The CSS Working Group just discussed ``[css-shapes-2] Order of points and control points in `shape()` ``, and agreed to the following:

* ``RESOLVED: restrict ordering such that `to` or `by` would need to come first``

<details><summary>The full IRC log of that discussion</summary>
&lt;kbabbitt> smfr: previously we decided you could specify dest point and control points in any order<br>
&lt;kbabbitt> ... later we added ability to specify control points in a way that depended on relative/absolute to/by on dest point<br>
&lt;kbabbitt> ... possible to write segments where control points come first but there's ambiguity on how to get to dest point<br>
&lt;kbabbitt> ... curve using top left by 10% 10%<br>
&lt;kbabbitt> ... which is invalid<br>
&lt;fantasai> s/using/with/<br>
&lt;kbabbitt> ... you cannot read left to right, you cannot parse left to right, have to maintain state to resolve `to` keyword<br>
&lt;TabAtkins> q+<br>
&lt;kbabbitt> ... do we have a desire in CSS to make things valid when read left to right?<br>
&lt;astearns> ack TabAtkins<br>
&lt;fantasai> curve with 10px 30px by 20px 20px<br>
&lt;fantasai> curve by 20px 20px with 10px 30px<br>
&lt;kbabbitt> TabAtkins: I'm fine with smfr's suggestoin<br>
&lt;kbabbitt> ... being able to know what coordinate space you're working in early seems reasonable<br>
&lt;kbabbitt> fantasai: prefer to keep it reorderable but not a big deal<br>
&lt;kbabbitt> Proposed: restrict ordering such that `to` or `by` would need to come first<br>
&lt;kbabbitt> fantasai: could decide later that it can be reorderable<br>
&lt;kbabbitt> RESOLVED: restrict ordering such that `to` or `by` would need to come first<br>
</details>


-- 
GitHub Notification of comment by css-meeting-bot
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10666#issuecomment-2578298392 using your GitHub account


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

Received on Wednesday, 8 January 2025 18:00:38 UTC