Bug 249813

Summary: Computed value for stroke-dasharray should be in px
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: CSSAssignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: graouts, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=251495
Bug Depends on:    
Bug Blocks: 175733    

Description Chris Dumez 2022-12-22 14:21:01 PST
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.
Comment 1 Chris Dumez 2022-12-22 14:22:47 PST
Pull request: https://github.com/WebKit/WebKit/pull/8024
Comment 2 EWS 2022-12-23 09:51:35 PST
Committed 258300@main (a618c9c0e8e3): <https://commits.webkit.org/258300@main>

Reviewed commits have been landed. Closing PR #8024 and removing active labels.
Comment 3 Radar WebKit Bug Importer 2022-12-23 09:52:15 PST
<rdar://problem/103672376>
Comment 4 Antoine Quint 2023-02-01 03:37:03 PST
Values using the "em" unit computed to "0px", see bug 251495.