Skip to content

Commit 5ebf7df

Browse files
committed
change fill-rule default for path() in SVG shapes
1 parent 462fdd1 commit 5ebf7df

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

css-shapes-1/Overview.bs

+9-3
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ Supported Shapes</h3>
488488
<dt><dfn>polygon()</dfn>
489489
<dd>
490490
* The <<'fill-rule'>> specifies the filling rule used
491-
to determine the interior
491+
to determine the interior.
492492
Defaults to ''nonzero'' if omitted.
493493

494494
* An optional <<length>> after a <css>round</css> keyword
@@ -537,8 +537,13 @@ Supported Shapes</h3>
537537
<dt><dfn>path()</dfn>
538538
<dd dfn-type=value dfn-for="path()">
539539
* The <<'fill-rule'>> specifies the filling rule used
540-
to determine the interior
541-
Defaults to ''nonzero'' if omitted.
540+
to determine the interior.
541+
Defaults to ''nonzero'' if omitted,
542+
unless the function is being used
543+
in a context such as SVG shapes
544+
where the 'fill-rule' property is relevant.
545+
In that case an omitted value will use
546+
the computed value of the 'fill-rule' property.
542547

543548
* The <<string>> represents an
544549
<a href="https://www.w3.org/TR/SVG11/paths.html#PathData">SVG Path data string</a>.
@@ -1176,6 +1181,7 @@ Change Log</h2>
11761181
<li>Added vertex rounding for polygon() for <a href="https://github.com/w3c/csswg-drafts/issues/9843">issue #9843</a> </li>
11771182
<li>Updated shape-outside prose to include all <<basic-shape>>s for <a href="https://github.com/w3c/csswg-drafts/issues/9728">issue #9728</a> </li>
11781183
<li>Clarified the shape-margin contribution to float areas for <a href="https://github.com/w3c/csswg-drafts/issues/2949">issue #2949</a> </li>
1184+
<li>Added fill-rule default handling for SVG shapes from <a href="https://github.com/w3c/csswg-drafts/issues/3468">issue #3468</a> </li>
11791185
</ul>
11801186

11811187
<h3 class="no-num" id="20140320">

0 commit comments

Comments
 (0)