Skip to content

Commit

Permalink
change fill-rule default for path() in SVG shapes
Browse files Browse the repository at this point in the history
  • Loading branch information
astearns committed Sep 19, 2024
1 parent 462fdd1 commit 5ebf7df
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions css-shapes-1/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,7 @@ Supported Shapes</h3>
<dt><dfn>polygon()</dfn>
<dd>
* The <<'fill-rule'>> specifies the filling rule used
to determine the interior
to determine the interior.
Defaults to ''nonzero'' if omitted.

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

* The <<string>> represents an
<a href="https://www.w3.org/TR/SVG11/paths.html#PathData">SVG Path data string</a>.
Expand Down Expand Up @@ -1176,6 +1181,7 @@ Change Log</h2>
<li>Added vertex rounding for polygon() for <a href="https://github.com/w3c/csswg-drafts/issues/9843">issue #9843</a> </li>
<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>
<li>Clarified the shape-margin contribution to float areas for <a href="https://github.com/w3c/csswg-drafts/issues/2949">issue #2949</a> </li>
<li>Added fill-rule default handling for SVG shapes from <a href="https://github.com/w3c/csswg-drafts/issues/3468">issue #3468</a> </li>
</ul>

<h3 class="no-num" id="20140320">
Expand Down

0 comments on commit 5ebf7df

Please sign in to comment.