Bug 265666
| Summary: | Reject paths with empty strings when parsing offset-path and clip-path, and fill rules when parsing offset-path | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Darin Adler <darin> |
| Component: | CSS | Assignee: | Darin Adler <darin> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | ntim, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | All | ||
| OS: | All | ||
Darin Adler
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
<rdar://problem/119034794>
Radar WebKit Bug Importer
<rdar://problem/119035182>
Darin Adler
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
Pull request: https://github.com/WebKit/WebKit/pull/21167
Darin Adler
*** Bug 265686 has been marked as a duplicate of this bug. ***
EWS
Committed 271788@main (daaddb247040): <https://commits.webkit.org/271788@main>
Reviewed commits have been landed. Closing PR #21167 and removing active labels.