Skip to content

Commit

Permalink
'd' presentation attribute: use path() function
Browse files Browse the repository at this point in the history
This brings the spec, the web platform tests and the only
shipping implementation (Chrome) into consistency:

  none | path(<string>)

closes w3c#320
  • Loading branch information
ericwilligers committed Dec 18, 2017
1 parent e201ef0 commit 25c0cd2
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions master/paths.html
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ <h3 id="TheDProperty">Specifying path data: the <span class='property'>'d'</span
</tr>
<tr>
<th>Value:</th>
<td>none | <a>&lt;string&gt;</a></td>
<td>none | path(<a>&lt;string&gt;</a>)</td>
</tr>
<tr>
<th>Initial:</th>
Expand Down Expand Up @@ -303,6 +303,10 @@ <h3 id="TheDProperty">Specifying path data: the <span class='property'>'d'</span
<a href="https://w3c.github.io/web-animations/#discrete-animation-type-section">discrete</a>
animation type.
</p>
<p>
Lowercase commands (with relative coordinates) are converted to equivalent uppercase commands
(with absolute coordinates) before determining if the path data strings have the same structure.
</p>
<p>
If the list of path data commands have the same structure, then each
parameter to each path data command must be
Expand All @@ -313,16 +317,9 @@ <h3 id="TheDProperty">Specifying path data: the <span class='property'>'d'</span
to be a value of one/true.
</p>

<p class="annotation">
Resolved that "d will become a presentation attribute (no name
change) with path data string as value" at
<a href="https://www.w3.org/2016/04/21-svg-minutes.html">London
Editor's Meeting</a>.
</p>

</div>

<p>The following sections list the commands that canbe used
<p>The following sections list the commands that can be used
in path data strings. Those that
draw straight line segments include the <a href="paths.html#PathDataLinetoCommands">lineto commands</a>
(<strong>L</strong>, <strong>l</strong>,
Expand Down

0 comments on commit 25c0cd2

Please sign in to comment.