Bug 204826

Summary: SVGLengthValue::fromCSSPrimitiveValue() doesn't have enough context to resolve font-relative units
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: SVGAssignee: Antoine Quint <graouts>
Status: RESOLVED FIXED    
Severity: Normal CC: graouts, karlcow, koivisto, krit, sabouhallawa, simon.fraser, webkit-bug-importer, zimmermann
Priority: P2 Keywords: InRadar
Version: Safari Technology Preview   
Hardware: Unspecified   
OS: Unspecified   

Simon Fraser (smfr)
Reported 2019-12-03 17:25:00 PST
imported/w3c/web-platform-tests/svg/painting/parsing/stroke-dasharray-computed.svg tries to set stroke-dasharray to a calc value that includes em units. SVGLengthValue::fromCSSPrimitiveValue() can't handle this, because it doesn't have enough context to resolve font-relative units.
Attachments
Antoine Quint
Comment 1 2023-02-02 03:45:38 PST
*** Bug 251495 has been marked as a duplicate of this bug. ***
Antoine Quint
Comment 2 2023-02-02 03:48:19 PST
EWS
Comment 3 2023-02-03 13:37:50 PST
Committed 259836@main (af0cc1eb786a): <https://commits.webkit.org/259836@main> Reviewed commits have been landed. Closing PR #9511 and removing active labels.
Radar WebKit Bug Importer
Comment 4 2023-02-03 13:38:19 PST
Note You need to log in before you can comment on or make changes to this bug.