WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
265666
Reject paths with empty strings when parsing offset-path and clip-path, and fill rules when parsing offset-path
https://bugs.webkit.org/show_bug.cgi?id=265666
Summary
Reject paths with empty strings when parsing offset-path and clip-path, and f...
Darin Adler
Reported
2023-12-01 08:05:58 PST
Web Platform Tests expect empty path strings to fail to parse for offset-path and clip-path. I can’t find anything in the relevant specifications that says that such paths are not allowed. I even found text in the SVG path specification that says, "This is not an error, instead it disables rendering of the path." But for now I am planning to change WebKit to match the test. Unless someone tells me this is the wrong thing to do.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2023-12-01 08:11:57 PST
<
rdar://problem/119034794
>
Radar WebKit Bug Importer
Comment 2
2023-12-01 08:26:07 PST
<
rdar://problem/119035182
>
Darin Adler
Comment 3
2023-12-01 08:27:21 PST
Same situation with fill rule. The test says we should fail to parse paths with fill rules even though discussions elsewhere say otherwise.
Darin Adler
Comment 4
2023-12-01 09:08:33 PST
Pull request:
https://github.com/WebKit/WebKit/pull/21167
Darin Adler
Comment 5
2023-12-01 12:05:22 PST
***
Bug 265686
has been marked as a duplicate of this bug. ***
EWS
Comment 6
2023-12-08 21:16:12 PST
Committed
271788@main
(daaddb247040): <
https://commits.webkit.org/271788@main
> Reviewed commits have been landed. Closing PR #21167 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