Skip to content

Commit

Permalink
[css-shapes-2] by/to should always come before rest of parameters. (#…
Browse files Browse the repository at this point in the history
…11464)

This applies to arc/curve/smooth.

Also fixes a bug where the arc target point was using only
coordinate-pair.

Resolution: #10666 (comment)

Closes #10666
  • Loading branch information
noamr authored Jan 9, 2025
1 parent f7c3f57 commit 233bbec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion css-shapes-2/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ The ''shape()'' Function</h4>
the command's starting point, the command's end point, or the [=reference box=], respectively.
If such component is not provided, the <<coordinate-pair>> is relative to the segment's start.

<dt><dfn><<arc-command>></dfn> = <dfn value>arc</dfn> [[<<by-to>> <<coordinate-pair>>] || [of <<length-percentage>>{1,2}] || <<arc-sweep>>? || <<arc-size>>?|| rotate <<angle>>? ]
<dt><dfn><<arc-command>></dfn> = <dfn value>arc</dfn> <<command-end-point>> [[of <<length-percentage>>{1,2}] || <<arc-sweep>>? || <<arc-size>>?|| rotate <<angle>>? ]
<dd>
Add an <a href="https://www.w3.org/TR/SVG/paths.html#PathDataEllipticalArcCommands">elliptical arc</a> command
to the list of path data commands,
Expand Down

0 comments on commit 233bbec

Please sign in to comment.