[webkit-changes] [WebKit/WebKit] 712ee8: [svg] fix remaining failures in svg/path/property/...
Antoine Quint
noreply at github.com
Thu Apr 11 02:30:29 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 712ee8ac74c4a7b9a1af01ea8a5bf42a93da6f6c
https://github.com/WebKit/WebKit/commit/712ee8ac74c4a7b9a1af01ea8a5bf42a93da6f6c
Author: Antoine Quint <graouts at webkit.org>
Date: 2024-04-11 (Thu, 11 Apr 2024)
Changed paths:
M LayoutTests/imported/w3c/web-platform-tests/svg/path/property/d-interpolation-relative-absolute-expected.txt
M LayoutTests/imported/w3c/web-platform-tests/svg/path/property/d-interpolation-single-expected.txt
M Source/WebCore/svg/SVGPathParser.cpp
Log Message:
-----------
[svg] fix remaining failures in svg/path/property/d-interpolation-relative-absolute.html and svg/path/property/d-interpolation-single.html
https://bugs.webkit.org/show_bug.cgi?id=272507
Reviewed by Antti Koivisto.
When parsing SVG path data, we mistakenly applied the normalization rules for the `rx` and `ry` parameters
to the arc commands no matter the parsing mode. Now we only do so when asked to normalize such that values
resulting from interpolation are not affected. This fixes the remaining failures in the interpolation tests
under the WPT `svg/path/property` directory.
* LayoutTests/imported/w3c/web-platform-tests/svg/path/property/d-interpolation-relative-absolute-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/svg/path/property/d-interpolation-single-expected.txt:
* Source/WebCore/svg/SVGPathParser.cpp:
(WebCore::SVGPathParser::parseArcToSegment):
Canonical link: https://commits.webkit.org/277372@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list