Open Bug 1745078 Opened 2 years ago Updated 2 years ago

Investigate the interpolation or d property value for smooth curveto command in animate-path-animation-Cc-Ss.tentative.html

Categories

(Core :: SVG, defect)

defect

Tracking

()

People

(Reporter: boris, Unassigned)

References

Details

After removing SVGPathSeg APIs, the WPT framework uses d property to check the path string. However, we got an error at 3.999 seconds in animate-path-animation-Cc-Ss.tentative.html:

expected "path ( " M - 20 - 20 c 0.01 39.99 0.01 39.99 40 40 s 39.99 0 - 0.01 - 39.99 Z " ) " but got "path ( " M - 20 - 20 c 0.01 39.99 0.01 39.99 40 40 s 39.99 0.01 - 0.01 - 39.99 Z " )

The difference is between "s 39.99 0 - 0.01 - 39.99 Z" and "s 39.99 0.01 - 0.01 - 39.99 Z". It's the "smooth curveto" command. The interpolation may be correct because we didn't hit this issue before. However, we need to figure out what happens here. It may be related the to mapping of d property or the SMIL implementation, or others.

You need to log in before you can comment on or make changes to this bug.