Bug 236119

Summary: [GTK4] Web content highlight colour not the same as other Gtk text
Product: WebKit Reporter: Kdwk <kdwkleung>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Minor CC: alicem, bugs-noreply, cgarcia
Priority: P3 Keywords: Gtk
Version: Other   
Hardware: PC   
OS: Linux   
Attachments:
Description Flags
Highlighted text in a GtkLabel (GTK4)
none
Highlighted text in a GtkLabel (GTK 4) none

Kdwk
Reported 2022-02-03 19:30:17 PST
Created attachment 450854 [details] Highlighted text in a GtkLabel (GTK4) In GTK 4, text highlights use a translucent light blue highlight colour while not changing the colour of the text itself. However, WebkitGTK is still using the GTK 3 style of deep(er) blue highlight colour with inverted font colour. The highlight style of WebkitGTK in GTK 4 should follow that of other GTK text.
Attachments
Highlighted text in a GtkLabel (GTK4) (10.69 KB, image/png)
2022-02-03 19:30 PST, Kdwk
no flags
Highlighted text in a GtkLabel (GTK 4) (21.85 KB, image/png)
2022-02-03 19:36 PST, Kdwk
no flags
Kdwk
Comment 1 2022-02-03 19:36:02 PST
Created attachment 450857 [details] Highlighted text in a GtkLabel (GTK 4)
Alice Mikhaylenko
Comment 2 2022-02-04 00:51:26 PST
*** This bug has been marked as a duplicate of bug 235884 ***
Alice Mikhaylenko
Comment 3 2022-02-04 00:52:46 PST
See the linked bug - I have a work-in-progress patch to update this, though there are some underlying issues with transparent selection - a bunch of test failures show differences with more than just colors, so might drop that part for now.
Note You need to log in before you can comment on or make changes to this bug.