WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
268594
[SVG2] getPointAtLength should throw exception when "path" is empty and renderable display type
https://bugs.webkit.org/show_bug.cgi?id=268594
Summary
[SVG2] getPointAtLength should throw exception when "path" is empty and rende...
Ahmad Saleem
Reported
2024-02-01 18:05:37 PST
Hi Team, We seems to fail few more "SVGGeometry" tests: WPT Test Cases:
https://wpt.fyi/results/svg/types/scripted/SVGGeometryElement.getPointAtLength-04.svg?label=master&label=experimental&aligned=&q=safari%3Afail
It is for when we don't have 'display: none' and 'display: contents', we have 'rendererIsNeeded' function, which might suite to be used in following two functions but I have tried adding in '.h' with both 'true' and 'false' values but it didn't work. Second issue is about 'path' being empty: WPT Test Case:
https://wpt.fyi/results/svg/types/scripted/SVGGeometryElement.getPointAtLength-05.svg?label=master&label=experimental&aligned=&q=safari%3Afail
I have tried: Path path(); if (path.isEmpty()) return Exception {}; or if (path().isEmpty()) or if (pathByteStream().isEmpty()) __ It progress few tests but then it leads to failure in other tests, so we need to do both stuff in one go. Just raising so we can track it. Thanks!
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2024-02-08 13:11:53 PST
<
rdar://problem/122574451
>
Ahmad Saleem
Comment 2
2024-08-23 04:17:16 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/32623
EWS
Comment 3
2024-08-23 10:27:57 PDT
Committed
282665@main
(6b8f14839b07): <
https://commits.webkit.org/282665@main
> Reviewed commits have been landed. Closing PR #32623 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug