Open smfr opened 1 month ago
cc @noamr @tabatkins
Good point, the easiest path forward here I think is that path()
is always assumed to have from 0 0
. It doesn't create special complexity and still allows interpolation with existing path()
shapes.
A more complex alternative would be to squash all the first move by|to
segments in both shape
and path
to a single from
CSS Basic Shapes 2 says that
shape()
andpath()
can interpolate if they have the same set of commands, specifically: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:and
Likewise what if the first command in the path is not an absolute move?
and