Skip to content

Commit af27ebd

Browse files
authored
[css-shapes-2] Refine use of the word "path" in the intro (w3c#11586)
* [css-shapes-2] Refine use of the word "path" in the introl A "shape" is a set of commands to generate a path dynamically, rather than them being synonomous terms. * nits
1 parent 3a040fa commit af27ebd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

css-shapes-2/Overview.bs

+3-1
Original file line numberDiff line numberDiff line change
@@ -147,10 +147,12 @@ The ''shape()'' Function</h4>
147147
and inherits a number of limitations from SVG,
148148
such as implicitly only allowing the ''px'' unit.
149149

150-
The ''shape()'' function defines a path in the same way,
150+
The ''shape()'' function uses a set of commands equivalent to the ones used by ''path()'',
151151
but does so with more standard CSS syntax,
152152
and allows the full range of CSS functionality,
153153
such as additional units and math functions.
154+
The commands used by ''shape()'' are dynamically turned into path segments when it is used for rendering,
155+
e.g., when computing the rendered 'clip-path'.
154156

155157
<pre class=prod>
156158
<dfn>shape()</dfn> = shape( <<'fill-rule'>>? from <<coordinate-pair>>, <<shape-command>>#)

0 commit comments

Comments
 (0)