Skip to content

Commit a2e5fe5

Browse files
committed
move path() back to shapes level 1
1 parent f1c5ac5 commit a2e5fe5

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

css-shapes-1/Overview.bs

+33
Original file line numberDiff line numberDiff line change
@@ -439,6 +439,38 @@ Supported Shapes</h3>
439439
arranged to enclose no area)
440440
result in an <a>empty float area</a>.
441441
</dd>
442+
<dt><dfn>path()</dfn> =
443+
path( [<<fill-rule>>,]? <<string>> )
444+
</dt>
445+
<dd dfn-type=value dfn-for="path()">
446+
<ul>
447+
<li>
448+
<dfn><<fill-rule>></dfn> -
449+
The filling rule used
450+
to determine the interior
451+
of the path.
452+
See <a href="https://www.w3.org/TR/SVG/painting.html#FillRuleProperty">fill-rule</a> property
453+
in SVG for details.
454+
Possible values are ''nonzero''
455+
or ''evenodd''.
456+
Default value when omitted is ''nonzero''.
457+
<li>
458+
The <dfn><<string>></dfn> represents an
459+
<a href="https://www.w3.org/TR/SVG11/paths.html#PathData">SVG Path data string</a>.
460+
The path data string must be conform
461+
to the grammar and parsing rules of SVG 1.1.
462+
The initial position is defined
463+
by the first “move to” argument
464+
in the path string.
465+
For the initial direction follow SVG 1.1.
466+
</ul>
467+
468+
The UA must close a path
469+
with an implicit
470+
closepath command ("z" or "Z")
471+
if it is not present in the string
472+
for properties that require a closed loop
473+
(such as 'shape-outside' and 'clip-path').
442474
</dl>
443475

444476
The arguments not defined above are defined as follows:
@@ -1066,6 +1098,7 @@ Since <a href="https://www.w3.org/TR/2014/CR-css-shapes-1-20140320/">March 20th
10661098
<ul>
10671099
<li>Clarified shape-margin computed value</li>
10681100
<li>Clarified empty circles and ellipses for <a href="https://github.com/w3c/csswg-drafts/issues/850">issue #850</a></li>
1101+
<li>Moved path() back from level 2</li>
10691102
</ul>
10701103

10711104
<h3 class="no-num" id="20140211">

0 commit comments

Comments
 (0)