Bug 303218
| Summary: | SVG length parsing fails with leading/trailing whitespace and negative values | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Ahmad Saleem <ahmad.saleem792> |
| Component: | SVG | Assignee: | Ahmad Saleem <ahmad.saleem792> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | sabouhallawa, webkit-bug-importer, zimmermann |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=261656 | ||
Ahmad Saleem
We were failing to handle SVG lengths with leading and trailing whitespaces and this fixes it.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/165501190>
Ahmad Saleem
Pull request: https://github.com/WebKit/WebKit/pull/54539
Ahmad Saleem
https://jsfiddle.net/2b43fprz/ -> whitespace-length.html (704 -> full pass)
EWS
Committed 303951@main (aaa4976475c3): <https://commits.webkit.org/303951@main>
Reviewed commits have been landed. Closing PR #54539 and removing active labels.