Re: [csswg-drafts] [css-color-4] [css-ui-4] `color: AccentColor; accent-color: currentColor` cycle (#14192)

Prior art from the previous discussion [here](https://github.com/w3c/csswg-drafts/issues/5900#issuecomment-2377703623):

```
<ntim> what about `accent-color: currentColor; color: accentColor;` ?
<kbabbitt> florian: unless I'm missing something this won't be usabel
<fantasai> Probably need accentColor to resolve against the parent in both color and accent-color
<kbabbitt> ...it will be usable if the author has actually set an accent-color
<lea> fantasai: why?
<kbabbitt> ...but if they haven't we're giong to default to system accent color which UA is lying about for fingreprinting reasons
<ntim> lea: how do you define the resolution of `accent-color: currentColor; color: accentColor;` ?
<chrishtr> q+
<fantasai> ... yeah that wouldn't work nm
<kbabbitt> ...if you set to orange, it will be orange, if you don't set it will be blue even if it's pink
<astearns> ack florian
<kbabbitt> emilio: unrelated to this resolution
<fantasai> but the see oriol/ntim's question about cycles
<kbabbitt> florian: currently accentcolor does not reflect the property and is used less because browser can and do lie about it
<kbabbitt> ...if we do this, it will be ???
<ntim> q+
<kbabbitt> emklio: browsers lie about system colors all the time
```

and [here](https://github.com/w3c/csswg-drafts/issues/5900#issuecomment-2380321760):

```
<emilio> florian: no longer objecting
<fantasai> emilio: to restate, this was about making AccentColor and AccentColorText react to accent-color property
<fantasai> emilio: some concern about them resolving at computed value time making it harder to not expose the system color from OS
<fantasai> emilio: but as Florian said, no longer objecting on that basis
<fantasai> emilio: I think general consensus was, make these react to accent-color property
<fantasai> emilio: figure out a reasonable definition for what happens with color/currentColor/accent-color/AccentColor cycles
<fantasai> emilio: That's TBD, can sort out in a separate issue
```

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 17 July 2026 01:49:38 UTC