Bug 226406

Summary: background image gradient colors wrong when background-attachment:fixed is used inside scrollable element
Product: WebKit Reporter: Cameron McCormack (:heycam) <heycam>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: bfulgham, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
test none

Cameron McCormack (:heycam)
Reported 2021-05-28 16:51:12 PDT
Created attachment 430074 [details] test Noticed this while working on bug 226399. Only tested on macOS. STR: 1. Open the test case. 2. Resize the Safari window as small as possible while still showing the entire blue-bordered element. 3. Scroll the blue-bordered element down. 4. Notice that about half way through the scrollable area, the gradient changes colors slightly. I reproduced on the oldest Safari I could run on my Big Sur machine.
Attachments
test (439 bytes, text/html)
2021-05-28 16:51 PDT, Cameron McCormack (:heycam)
no flags
Radar WebKit Bug Importer
Comment 1 2021-05-28 20:35:14 PDT
Simon Fraser (smfr)
Comment 2 2022-03-28 14:57:40 PDT
The cached image buffer created by GradientImage::drawPattern() needs to match the destination colorspace.
Note You need to log in before you can comment on or make changes to this bug.