Bug 249813 - Computed value for stroke-dasharray should be in px
Summary: Computed value for stroke-dasharray should be in px
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
Keywords: InRadar
Depends on:
Blocks: 175733
  Show dependency treegraph
Reported: 2022-12-22 14:21 PST by Chris Dumez
Modified: 2023-02-01 03:37 PST (History)
2 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
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
Comment 4 Antoine Quint 2023-02-01 03:37:03 PST
Values using the "em" unit computed to "0px", see bug 251495.