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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 4 17:08:22 PDT 2020


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

Darin Adler <darin at apple.com> changed:

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

--- Comment #4 from Darin Adler <darin at apple.com> ---
Comment on attachment 408018
  --> https://bugs.webkit.org/attachment.cgi?id=408018
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=408018&action=review

> Source/WebCore/style/StyleBuilder.cpp:190
> +    auto originalLinkMatch = m_state.m_linkMatch;

This won’t do the right thing if the "return" below is done after changing m_state.m_linkMatch.

We have a class SetForScope designed for this kind of thing, that could make sure we get that right.

-- 
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/20200905/8d9b9992/attachment.htm>


More information about the webkit-unassigned mailing list