[Webkit-unassigned] [Bug 210525] New: CSS :visited color taken on non-visited link when using CSS variables

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 14 17:38:06 PDT 2020


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

            Bug ID: 210525
           Summary: CSS :visited color taken on non-visited link when
                    using CSS variables
           Product: WebKit
           Version: Safari 13
          Hardware: Macintosh
                OS: macOS 10.14
            Status: NEW
          Severity: Major
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: Adam_Dierkens at intuit.com

When setting colors for anchor tags using css-vars, the visited color in a css-variable override is taken even if other anchor tags on the same page (that are not using css-vars) don't exhibit the same behavior.

https://jsfiddle.net/rf1njobm/3/

The first link on the page gets its styles from a --link-color-visited variable. An identical anchor tag (with the same href) that doesn't use a variable (only raw colors) doesn't appear to be visited.

-- 
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/20200415/c851b62b/attachment.htm>


More information about the webkit-unassigned mailing list