Skip to content

Conversation

@noamr
Copy link
Collaborator

@noamr noamr commented Oct 1, 2024

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

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: w3c#10740 (comment)

Closes w3c#10740
@noamr noamr requested a review from tabatkins October 1, 2024 14:33
@noamr noamr requested a review from astearns October 21, 2024 14:08
''shape()'' and ''path()'' functions can be <l spec=css-values-4>[=interpolated=]</l> with each other
if their associated list of path data commands is the same length
and has the same commands, in order.
and has the same commands, in order, with the first value of the ''path()'' function interpolating with the
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

perhaps s/value/command/, as I could naively interpret the first “value” being m or M?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@astearns astearns self-requested a review October 22, 2024 21:20
@noamr noamr merged commit d72a80b into w3c:main Oct 22, 2024
1 check passed
@noamr noamr deleted the shape-path branch October 22, 2024 21:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[css-shapes-2] Interpolation between shape() and path() needs more detail

2 participants