Re: [csswg-drafts] [selectors] :link and :visited are not mutually exclusive in implementations

Though actually loading the demo in other browsers, I am not sure I understand their behavior either. I think the problem is that you cannot remove all ":link" styles when the link is visited because otherwise this might leak somehow, so only a couple of properties will match using ":visited" and other properties will match using ":link" and this creates a weird state.

Maybe saying ":link" always matches would help solve the craziness but there might be a few websites broken by specificity of ":link" overriding their ":visited" styles.

-- 
GitHub Notification of comment by FremyCompany
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2037#issuecomment-349189177 using your GitHub account

Received on Tuesday, 5 December 2017 04:06:19 UTC