Open Bug 1486646 Opened 6 years ago Updated 2 years ago

The relativeness in the interpolation results of SVG path (d property/attribute) doesn't match those in web-platform-tests

Categories

(Core :: SVG, enhancement, P5)

enhancement

Tracking

()

People

(Reporter: boris, Unassigned)

References

(Blocks 1 open bug, )

Details

See Also: → 1486094
Priority: P4 → P5
Blocks: svg2
Temporarily let this bug block svg2, for now. (Please feel free to update this.)
Summary: The relativeness in the interpolation results of SVG path d property doesn't match those in web-platform-tests → The relativeness in the interpolation results of SVG path (d property/attribute) doesn't match those in web-platform-tests
Sorry, let me rewrite the description:

While working on Bug 1486094, I notice that the relativeness in interpolation results of svg paths is always "absolute" [1]. There is a discussion about this [2]. The current implementation of svg path in Gecko always converts the start segment according to the end segment type [3]. In Bug 1486094 I may convert the SVG Path into absolute format during interpolation, and then serialize them as absolute segments, so we could pass the current wpt tests. Probably we have to update the interpolation for SVG d attribute in this bug.

[1] https://searchfox.org/mozilla-central/rev/55da592d85c2baf8d8818010c41d9738c97013d2/testing/web-platform/tests/svg/path/property/d-interpolation-relative-absolute.svg#18-29
[2] https://github.com/w3c/svgwg/issues/321
[3] https://searchfox.org/mozilla-central/rev/55da592d85c2baf8d8818010c41d9738c97013d2/dom/svg/SVGPathSegListSMILType.cpp#317-319
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.