W3C home > Mailing lists > Public > public-css-archive@w3.org > December 2017

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

From: François REMY via GitHub <sysbot+gh@w3.org>
Date: Tue, 05 Dec 2017 04:06:16 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-349189177-1512446773-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:21 UTC