Bug 235332

Summary: LinkText should be implemented as a system color
Product: WebKit Reporter: Aditya Keerthi <akeerthi>
Component: CSSAssignee: Aditya Keerthi <akeerthi>
Status: NEW ---    
Severity: Normal CC: akeerthi, darin, lwarlow, simon.fraser, tomac, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=209851
https://bugs.webkit.org/show_bug.cgi?id=272299

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.