WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
272583
Scroll to text fragment highlight style can create unreadable text, especially in dark mode
https://bugs.webkit.org/show_bug.cgi?id=272583
Summary
Scroll to text fragment highlight style can create unreadable text, especiall...
Robert Flack
Reported
2024-04-12 05:39:55 PDT
Created
attachment 470891
[details]
Appearance of the scroll to text fragment on Safari 17.4.1 I discovered when I was following a link to a steam community guide that on Safari the scroll to text fragment styling wasn't overriding the font color which can result in something nearly unreadable on some sites. For example, if you navigate to the following link:
https://steamcommunity.com/sharedfiles/filedetails/?l=german&id=699781872#:~:text=why%20am%20I%20constantly%20losing%20money
On chrome, the text color is changed to black which makes the text easily readable against the highlight color. On Safari, the text color is not changed resulting in very little contrast between the highlight and the text as shown in the attached image.
Attachments
Appearance of the scroll to text fragment on Safari 17.4.1
(54.04 KB, image/png)
2024-04-12 05:39 PDT
,
Robert Flack
no flags
Details
the highlight and what selection does side by side
(50.11 KB, image/png)
2024-04-16 02:03 PDT
,
Karl Dubost
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Karl Dubost
Comment 1
2024-04-16 02:03:10 PDT
Created
attachment 470935
[details]
the highlight and what selection does side by side Here I added a selection just beside to show the difference. That's a good point.
Radar WebKit Bug Importer
Comment 2
2024-04-16 02:03:35 PDT
<
rdar://problem/126539910
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug