Bug 251495 - Computed style value for `stroke-dasharray: 10em` is `stroke-dasharray: 0px`
Summary: Computed style value for `stroke-dasharray: 10em` is `stroke-dasharray: 0px`
Status: RESOLVED DUPLICATE of bug 204826
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
Depends on:
Reported: 2023-02-01 03:36 PST by Antoine Quint
Modified: 2023-02-02 03:45 PST (History)
0 users

See Also:

Test (212 bytes, text/html)
2023-02-01 03:36 PST, Antoine Quint
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Antoine Quint 2023-02-01 03:36:17 PST
Created attachment 464792 [details]

We recently made it possible to get the computed style for stroke-dasharray on non-SVG elements with bug 249813. However, it's not always right since it returns 0px for a 10em value, as shown in the attached test.
Comment 1 Antoine Quint 2023-02-01 03:54:21 PST
This affects the WPT tests web-animations/responsive/strokeDasharray.html: https://wpt.fyi/results/web-animations/responsive/strokeDasharray.html.
Comment 2 Antoine Quint 2023-02-02 03:45:38 PST

*** This bug has been marked as a duplicate of bug 204826 ***