Bug 204826
| Summary: | SVGLengthValue::fromCSSPrimitiveValue() doesn't have enough context to resolve font-relative units | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Simon Fraser (smfr) <simon.fraser> |
| Component: | SVG | Assignee: | 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)
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Antoine Quint
*** Bug 251495 has been marked as a duplicate of this bug. ***
Antoine Quint
Pull request: https://github.com/WebKit/WebKit/pull/9511
EWS
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
<rdar://problem/105018931>