Bug 251495

Summary: Computed style value for `stroke-dasharray: 10em` is `stroke-dasharray: 0px`
Product: WebKit Reporter: Antoine Quint <graouts>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal    
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=249813
Attachments:
Description Flags
Test none

Description Antoine Quint 2023-02-01 03:36:17 PST
Created attachment 464792 [details]
Test

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 ***