W3C home > Mailing lists > Public > public-css-archive@w3.org > February 2018

Re: [csswg-drafts] [css-variables] [selectors] Should custom properties work for :visited?

From: fantasai via GitHub <sysbot+gh@w3.org>
Date: Sat, 03 Feb 2018 01:33:05 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-362761369-1517621584-sysbot+gh@w3.org>
@Loirooriol Oof, that's a [stray commit](https://github.com/w3c/csswg-drafts/commit/a25ab519f7cc294c6fc171021e1ed40678cfa29d). The exact spec text for `:visited` management is under discussion in https://github.com/w3c/csswg-drafts/pull/2105 and https://github.com/w3c/csswg-drafts/issues/2037 but isn't ready yet.

Under the current spec, both interpretations are valid, although ignoring `--foo: yellow` in the `color` declaration is more aggressive than necessary. It must, however, not return yellow in the OM, and probably can't return yellow in any property that's not otherwise supported for `:visited` links, either, as this can leak information.

-- 
GitHub Notification of comment by fantasai
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2263#issuecomment-362761369 using your GitHub account
Received on Saturday, 3 February 2018 01:33:08 UTC

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