Bug 257676

Summary: [cairo][GTK] Incorrect gradient on flathub.org and other sites (non-premultiplied alpha)
Product: WebKit Reporter: Kdwk <kdwkleung>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: bugs-noreply, Hironori.Fujii, nekohayo
Priority: P2    
Version: WebKit Nightly Build   
Hardware: PC   
OS: Linux   
URL: https://flathub.org/apps/io.github.alainm23.planify
Attachments:
Description Flags
Screenshot showing transparent to grey gradient when grey should be white none

Description Kdwk 2023-06-03 01:42:36 PDT
Created attachment 466576 [details]
Screenshot showing transparent to grey gradient when grey should be white

On flathub.org and other sites with gradients covering web elements, the gradient colour is incorrect. On flathub.org, the gradient should be from transparent to white but it is from transparent to grey instead.
Comment 1 Fujii Hironori 2023-06-03 05:16:44 PDT
CG ports fixed the problem.
  Bug 150940 – Gradient color interpolation incorrect for colors with alpha (need to interpolate premultiplied colors)
Comment 2 Kdwk 2024-05-14 21:02:44 PDT
Fixed in Skia (WebKitGTK 2.45.x)