Skip to content

Commit 89ef983

Browse files
dirkschulzesvgeesus
authored andcommitted
Add fill-rule to path() for other specifications.
1 parent ebcffb8 commit 89ef983

2 files changed

Lines changed: 57 additions & 51 deletions

File tree

motion-1/index.bs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,10 @@ Values have the following meanings:
8080
<dd>The initial position is defined by the first coordinate pair of the polygon. The initial direction is defined by the vector connecting the initial position with the next following coordinate pair that isn't equal to the initial position. If there is no such unequal coordinate pair, the initial direction is defined with 0 degree.</dd>
8181
</dl>
8282
</dd>
83-
<dt><dfn>path()</dfn> = path(<<string>>)</dt>
83+
<dt><dfn>path()</dfn> = path([ <<fill-rule>> ,]? <<string>>)</dt>
8484
<dd>
8585
<p>The <<string>> represents an SVG Path data string. The path data string must be conform to the grammar and parsing rules of SVG 1.1 [[!SVG11]]. The initial position is defined by the first “move to” argument in the path string. For the initial direction follow SVG 1.1 [[!SVG11]].
86+
<p><<fill-rule>> - The filling rule used to determine the interior of the path. See 'fill-rule' property in SVG for details. Possible values are ''nonzero'' or ''evenodd''. Default value when omitted is ''nonzero''.
8687
<p class="issue">There have been requests to support <<length>> and <<percentage>> units for coordinates as well. Should we support them?
8788
</dd>
8889
<dt><<url>></dt>

0 commit comments

Comments
 (0)