Closed
Description
CSS Basic Shapes 2 says that shape()
and path()
can interpolate if they have the same set of commands, specifically:
For this purpose, commands are "the same" if they use the same command keyword, and use the same keyword. For curve and smooth, they also must have the same number of control points.
But there's some ambiguity here, because shape()
takes an initial "from", and it's not clear if that has to correspond to the first Move command in the path. Specifically, it's not clear if these should interpolate:
shape(from 0 0, move to 200px 200px, close)
and
path(M 100 100 z)
Likewise what if the first command in the path is not an absolute move?
shape(from 0 0, line to 200px 200px, close)
and
path(m 100 100 z)
Metadata
Metadata
Assignees
Type
Projects
Status
Friday morning