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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 18 12:47:27 PST 2022


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

            Bug ID: 235328
           Summary: `-webkit-link` color does not adjust to `color-scheme:
                    light dark`
           Product: WebKit
           Version: Safari 15
          Hardware: All
                OS: macOS 12
            Status: NEW
          Severity: Minor
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: sam at samhenri.gold

Created attachment 449411

  --> https://bugs.webkit.org/attachment.cgi?id=449411&action=review

Safari's rendering vs MS Edge Chromium's rendering.

When a document is set to use `color-scheme: light dark` and an anchor color is not set, the default link color has poor contrast on a dark background.

I don't know if I'm able to add two attachments, here's the document I used to verify this bug:

<html>
<head>
  <style>
    :root { color-scheme: light dark; }
  </style>
</head>

<body>
  <h1>Non-link text</h1>
  <a href="##">Non-visited link</a>
  <br>
  <a href="">Visited link</a>
</body>
</html>

-- 
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/02c8e101/attachment.htm>


More information about the webkit-unassigned mailing list