Bug 235332 - LinkText should be implemented as a system color
Summary: LinkText should be implemented as a system color
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Aditya Keerthi
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-01-18 14:02 PST by Aditya Keerthi
Modified: 2024-04-07 05:31 PDT (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Aditya Keerthi 2022-01-18 14:02:14 PST
The value is currently a fixed color, and does not adjust based on light/dark mode, or with the system.
Comment 1 Radar WebKit Bug Importer 2022-01-25 14:03:35 PST
<rdar://problem/88043298>
Comment 2 Aditya Keerthi 2022-04-19 13:36:54 PDT
This bug is unrelated to the default link color used in web views.

This is specifically about the CSS value 'LinkText', which is by definition a system color: https://www.w3.org/TR/css-color-4/#ref-for-valdef-system-color-linktext.
Comment 3 Darin Adler 2022-04-19 13:37:59 PDT
Note that this bug is *not* about default link coloring in dark mode. This is a rarely-used feature for matching *system* link coloring, not default webpage link coloring. Bug 209851 is about the default webpage link coloring in dark mode.
Comment 4 Luke Warlow 2023-10-20 17:17:16 PDT
As per https://bugs.chromium.org/p/chromium/issues/detail?id=1219739 I think VisitedText probably also needs handling too.
Comment 5 Luke Warlow 2023-10-20 17:20:05 PDT
Is there a difference between the `-webkit-link` value and `LinkText` system color in terms of desired implementations? Aside from LinkText should compute to itself (presumably) whereas `-webkit-link` seems to resolve to an actual value.