You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* [css-shapes-2] Clarify shape/path interpolation
Match the first moveTo of the `path()` with the "from" of the `shape()`
This is guaranteed to work since `path()` always starts with an M or m.
See resolution: #10740 (comment)Closes#10740
* s/value/command
Copy file name to clipboardExpand all lines: css-shapes-2/Overview.bs
+5-1
Original file line number
Diff line number
Diff line change
@@ -352,7 +352,11 @@ Interpolating the ''shape()'' Function</h5>
352
352
353
353
''shape()'' and ''path()'' functions can be <l spec=css-values-4>[=interpolated=]</l> with each other
354
354
if their associated list of path data commands is the same length
355
-
and has the same commands, in order.
355
+
and has the same commands, in order, with the first command of the ''path()'' function interpolating with the
356
+
initial <<coordinate-pair>> in the ''shape()'' function.
357
+
358
+
Note: The first command of a ''path()'' function is guaranteed to be a ''move'', see <a href="https://www.w3.org/TR/SVG2/paths.html#PathDataMovetoCommands">moveTo</a> in the SVG spec.
359
+
356
360
If the starting and ending values are both ''path()'' functions,
0 commit comments