[webkit-changes] [WebKit/WebKit] a618c9: Computed value for stroke-dasharray should be in px
Chris Dumez
noreply at github.com
Fri Dec 23 09:51:44 PST 2022
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: a618c9c0e8e382fd9557d620e9a378714d18f9e6
https://github.com/WebKit/WebKit/commit/a618c9c0e8e382fd9557d620e9a378714d18f9e6
Author: Chris Dumez <cdumez at apple.com>
Date: 2022-12-23 (Fri, 23 Dec 2022)
Changed paths:
M LayoutTests/imported/w3c/web-platform-tests/css/css-typed-om/the-stylepropertymap/properties/stroke-dasharray-expected.txt
M LayoutTests/imported/w3c/web-platform-tests/web-animations/responsive/strokeDasharray-expected.txt
M Source/WebCore/css/SVGCSSComputedStyleDeclaration.cpp
Log Message:
-----------
Computed value for stroke-dasharray should be in px
https://bugs.webkit.org/show_bug.cgi?id=249813
Reviewed by Simon Fraser.
Computed value for stroke-dasharray should be in px:
- https://svgwg.org/svg2-draft/painting.html#StrokeDashing
Previously, we would only convert other length units to px when applied to a
SVG element, not for other kinds of elements.
* LayoutTests/imported/w3c/web-platform-tests/css/css-typed-om/the-stylepropertymap/properties/stroke-dasharray-expected.txt:
* Source/WebCore/css/SVGCSSComputedStyleDeclaration.cpp:
(WebCore::strokeDashArrayToCSSValueList):
Canonical link: https://commits.webkit.org/258300@main
More information about the webkit-changes
mailing list