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

@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