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

Description Kdwk 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.
Comment 1 Kdwk 2022-02-03 19:36:02 PST
Created attachment 450857 [details]
Highlighted text in a GtkLabel (GTK 4)
Comment 2 Alice Mikhaylenko 2022-02-04 00:51:26 PST

*** This bug has been marked as a duplicate of bug 235884 ***
Comment 3 Alice Mikhaylenko 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.