Skip to content

Commit 8b76107

Browse files
authored
Also add curve/smooth (w3c#11471)
1 parent 233bbec commit 8b76107

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

css-shapes-2/Overview.bs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -273,8 +273,8 @@ The ''shape()'' Function</h4>
273273
instead of a <<length-percentage>>,
274274
would draw a line to that <<position>>, with the <<position>>'s horizontal component remaining the same as the starting point.
275275

276-
<dt><dfn><<curve-command>></dfn> = <dfn value>curve</dfn> [ [ to <<position>> && with <<control-point>> [ / <<control-point>> ]? ]
277-
| [ by <<coordinate-pair>> && with <<relative-control-point>> [ / <<relative-control-point>> ]? ] ]
276+
<dt><dfn><<curve-command>></dfn> = <dfn value>curve</dfn> [ [ to <<position>> with <<control-point>> [ / <<control-point>> ]? ]
277+
| [ by <<coordinate-pair>> with <<relative-control-point>> [ / <<relative-control-point>> ]? ] ]
278278
<dd>
279279
Adds a Bézier curve command to the list of path data commands,
280280
ending at the point specified by the <<position>> following the ''shape()/to'' keyword,
@@ -286,8 +286,8 @@ The ''shape()'' Function</h4>
286286
if two <<control-point>>s or <<relative-control-point>>s are provided,
287287
it specifies a <a href="https://www.w3.org/TR/SVG/paths.html#PathDataCubicBezierCommands">cubic curve</a>.
288288

289-
<dt><dfn><<smooth-command>></dfn> = <dfn value>smooth</dfn> [ [ to <<position>> && [with <<control-point>> ]? ]
290-
| [ by <<coordinate-pair>> && [ with <<relative-control-point>> ]? ] ]
289+
<dt><dfn><<smooth-command>></dfn> = <dfn value>smooth</dfn> [ [ to <<position>> [with <<control-point>> ]? ]
290+
| [ by <<coordinate-pair>> [ with <<relative-control-point>> ]? ] ]
291291
<dd>
292292
Adds a smooth Bézier curve command to the list of path data commands,
293293
ending at the point specified by the <<position>> following the ''shape()/to'' keyword, or the <<coordinate-pair>> following the ''shape()/by'' keyword, as specified by <<command-end-point>>.

0 commit comments

Comments
 (0)