Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
Showing 3 changed files with 11 additions and 5 deletions.