Re: [csswg-drafts] [css-color] [css-color-adjust] Consider reversing the resolution of #3847 (#6773)

> > > @emilio said:
> > > 
> > > Can you explain what's going on here?
> > 
> > I don't believe that Chromium has shipped the system color computing to itself behavior, which is likely why you're seeing the behavior you are.
> 
> I'm testing on Chrome Dev with experimental features enabled (and I confirmed that https://wpt.live/css/css-color/system-color-compute.html passes on this browser, yet my test-case renders differently from what I'd expect). So it seems there's something else going on.

Ah I see, so it only works when you explicitly set `color` to `CanvasText`, but not in the default case. In Chromium, the [default for `color` is still `black`](https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/css/css_properties.json5;l=759;drc=fd8802b593110ea18a97ef044f8a40dd24a622ec;bpv=0;bpt=0) and hasn't been updated to `CanvasText`, so that would explain why [your test-case](http://crisal.io/tmp/color-scheme-change-no-background.html) is behaving as it is.

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


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

Received on Monday, 1 November 2021 18:48:14 UTC