Skip to content

Commit 5aff2a3

Browse files
authored
[css-shapes-2] Add the "rotate" keyword to shape() (w3c#7105)
1 parent a29aef9 commit 5aff2a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

css-shapes-2/Overview.bs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ The ''shape()'' Function</h4>
171171
<<curve-command>> = curve <<by-to>> <<coordinate-pair>> via <<coordinate-pair>>{1,2}
172172
<<smooth-command>> = smooth <<by-to>> <<coordinate-pair>> [via <<coordinate-pair>>]?
173173
<<arc-command>> = arc <<by-to>> <<coordinate-pair>> of <<length-percentage>>{1,2}
174-
[ <<arc-sweep>> || <<arc-size>> || <<angle>> ]?
174+
[ <<arc-sweep>> || <<arc-size>> || rotate <<angle>> ]?
175175
<<arc-sweep>> = cw | ccw
176176
<<arc-size>> = large | small
177177
</pre>
@@ -258,7 +258,7 @@ The ''shape()'' Function</h4>
258258
so the curve appears to smoothly continue from the previous command,
259259
rather than possibly making a sudden direction change.
260260

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

0 commit comments

Comments
 (0)