| Summary: | Radial gradient with farthest-side that fills a box renders incorrectly | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Tim Nguyen (:ntim) <ntim> | ||||||||||
| Component: | CSS | Assignee: | Nobody <webkit-unassigned> | ||||||||||
| Status: | NEW --- | ||||||||||||
| Severity: | Normal | CC: | megan_gardner, simon.fraser, webkit-bug-importer | ||||||||||
| Priority: | P2 | Keywords: | InRadar | ||||||||||
| Version: | WebKit Nightly Build | ||||||||||||
| Hardware: | Unspecified | ||||||||||||
| OS: | Unspecified | ||||||||||||
| Attachments: |
|
||||||||||||
|
Description
Tim Nguyen (:ntim)
2022-10-26 09:46:04 PDT
Created attachment 463255 [details]
Testcase that renders differently from other browsers
Created attachment 463313 [details]
Single gradient test
Created attachment 463314 [details]
Test case
This testcase shows that it's a bug when farthest-side is used. The top gradient uses:
CGGradientCreateWithColorComponents - colors [0.00, 0.50, 0.00, 1.00, 0.00, 0.00, 1.00, 1.00] locations [0.71, 0.71] numberOfStops 2
The bottom one uses:
CGGradientCreateWithColorComponents - colors [0.00, 0.50, 0.00, 1.00, 0.00, 0.00, 1.00, 1.00] locations [1.00, 1.00] numberOfStops 2
but they should be the same.
attachment 463254 [details] doesn't seem to use farthest-side at all fwiw.
That needs reducing to the single gradient that renders incorrectly. (In reply to Simon Fraser (smfr) from comment #5) > That needs reducing to the single gradient that renders incorrectly. None of them render at all fwiw. |