Bug 257676 - [cairo][GTK] Incorrect gradient on flathub.org and other sites (non-premultiplied alpha)
Summary: [cairo][GTK] Incorrect gradient on flathub.org and other sites (non-premultip...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: WebKit Nightly Build
Hardware: PC Linux
: P2 Normal
Assignee: Nobody
URL: https://flathub.org/apps/io.github.al...
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-03 01:42 PDT by Kdwk
Modified: 2024-05-14 21:02 PDT (History)
3 users (show)

See Also:


Attachments
Screenshot showing transparent to grey gradient when grey should be white (136.25 KB, image/png)
2023-06-03 01:42 PDT, Kdwk
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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)