Skip to content

Commit 25c0cd2

Browse files
committed
'd' presentation attribute: use path() function
This brings the spec, the web platform tests and the only shipping implementation (Chrome) into consistency: none | path(<string>) closes #320
1 parent e201ef0 commit 25c0cd2

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

master/paths.html

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ <h3 id="TheDProperty">Specifying path data: the <span class='property'>'d'</span
237237
</tr>
238238
<tr>
239239
<th>Value:</th>
240-
<td>none | <a>&lt;string&gt;</a></td>
240+
<td>none | path(<a>&lt;string&gt;</a>)</td>
241241
</tr>
242242
<tr>
243243
<th>Initial:</th>
@@ -303,6 +303,10 @@ <h3 id="TheDProperty">Specifying path data: the <span class='property'>'d'</span
303303
<a href="https://w3c.github.io/web-animations/#discrete-animation-type-section">discrete</a>
304304
animation type.
305305
</p>
306+
<p>
307+
Lowercase commands (with relative coordinates) are converted to equivalent uppercase commands
308+
(with absolute coordinates) before determining if the path data strings have the same structure.
309+
</p>
306310
<p>
307311
If the list of path data commands have the same structure, then each
308312
parameter to each path data command must be
@@ -313,16 +317,9 @@ <h3 id="TheDProperty">Specifying path data: the <span class='property'>'d'</span
313317
to be a value of one/true.
314318
</p>
315319

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

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

0 commit comments

Comments
 (0)