Skip to content

Commit 95438c3

Browse files
authored
[css-shapes-2] Use <<position>> for shape() staring point (#11649)
Closes #11358
1 parent e35ab89 commit 95438c3

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

css-shapes-2/Overview.bs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ The ''shape()'' Function</h4>
155155
e.g., when computing the rendered 'clip-path'.
156156

157157
<pre class=prod>
158-
<dfn>shape()</dfn> = shape( <<'fill-rule'>>? from <<coordinate-pair>>, <<shape-command>>#)
158+
<dfn>shape()</dfn> = shape( <<'fill-rule'>>? from <<position>>, <<shape-command>>#)
159159
</pre>
160160

161161
The <<'fill-rule'>> is interpreted identically to the same argument in ''path()''.
@@ -166,8 +166,7 @@ The ''shape()'' Function</h4>
166166

167167
The <css>from <<coordinate-pair>></css> represents the starting point for the first shape-command.
168168
It adds an initial <a href="https://www.w3.org/TR/SVG/paths.html#PathDataMovetoCommands">absolute moveto</a>
169-
to the list of path data commands,
170-
with the <<coordinate-pair>> measured from the top-left corner of the [=reference box=].
169+
to the list of path data commands.
171170

172171
The sequence of <dfn><<shape-command>></dfn>s represent
173172
further <a href="https://www.w3.org/TR/SVG11/paths.html#PathData">path data commands</a>.

0 commit comments

Comments
 (0)