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

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

From: Emilio Cobos Álvarez via GitHub <sysbot+gh@w3.org>
Date: Fri, 02 Feb 2018 12:56:08 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-293879676-1517576167-sysbot+gh@w3.org>
emilio has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-variables] [selectors] Should custom properties work for :visited? ==
Should the following test-case be brown or yellow?

```css
<!doctype html>
<style>
  a {
    --foo: brown;
  }

  :visited {
    --foo: yellow;
    color: var(--foo);
  }
</style>
<a href="">Which color?</a>
```

Right now Gecko is yellow, blink / webkit are brown.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2263 using your GitHub account
Received on Friday, 2 February 2018 12:56:11 UTC

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