Re: [csswg-drafts] [css-shapes-2] `curve to` keyword `using` seems a bit off (#10649)

Adjusted grammar (just adding `from origin`):
```
shape() = shape( <'fill-rule'>? from <coordinate-pair>, <shape-command>#)

<shape-command> = <move-command> | <line-command> | <hv-line-command> |
                  <curve-command> | <smooth-command> | <arc-command> | close

<coordinate-pair> = <length-percentage>{2}
<relative-control-point> = [<coordinate-pair> [from start | from end | from origin]?]
<to-control-point> = [<position> | <relative-control-point>]
<by-to> = by | to

<move-command> = move [to <position>] | [by <coordinate-pair>]
<line-command> = line [to <position>] | [by <coordinate-pair>]
<hv-line-command> = [hline | vline] <by-to> <length-percentage>
<curve-command> = curve [to <position> with <to-control-point> [/ <to-control-point>]?]
                      | [by <coordinate-pair> with <relative-control-point> [/ <relative-control-point>]?]
<smooth-command> = smooth [to <position> [with <to-control-point>]?]
                        | [by <coordinate-pair> [with <relative-control-point>]?]
<arc-command> = arc [to <position>] | [by <coordinate-pair>] of <length-percentage>{1,2} [<arc-sweep>? || <arc-size>? || [rotate <angle>]?]
```

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


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

Received on Tuesday, 15 October 2024 03:28:18 UTC