[Webkit-unassigned] [Bug 235328] `-webkit-link` color does not adjust to `color-scheme: light dark`

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 18 13:31:34 PST 2022


https://bugs.webkit.org/show_bug.cgi?id=235328

Aditya Keerthi <akeerthi at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |akeerthi at apple.com

--- Comment #1 from Aditya Keerthi <akeerthi at apple.com> ---
Thanks for the report!

Did some investigation – the link color is currently fixed to rgb(0, 0, 238) in RenderTheme.cpp.

I think we should fix this by always using the system (semantic) color on macOS and iOS, which will adapt to dark mode.

There's an old comment that says "Web views that want system appearance get the system version of link colors, which differ from the HTML spec." But I was unable to find a spec that restricts the value of the link color, so it should be fine to always use the system color.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220118/3ed0fbf6/attachment.htm>


More information about the webkit-unassigned mailing list