Re: [csswg-drafts] [css-color-adjust] about:blank causes undesired flickering with dark color scheme. (#9624)

I'm not sure how and, if so, where `about:blank` is defined, but it seems to use the following source code:

```html
<html><head></head><body></body></html>
```

Are you _effectively_ proposing the [user agent stylesheet](https://html.spec.whatwg.org/multipage/rendering.html#the-page) for `html` iff (if and only if) used in `about:blank` (if such thing like UA styles for this special page exist) should include `color-scheme: light dark;`? [According to MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta/name#:~:text=color%2Dscheme%3A%20specifies,CSS%20media%20feature.), this seems to have the same effect when applied at the `html` level than a `<meta name="color-scheme>`, but I may miss nuances.

It would definitely not be web-compatible to make this the default for `html` everywhere, even if some [popular-ish CSS resets do](https://github.com/mayank99/reset.css/blob/057e92c7f448e652eaf2140c49b5a0108f1427c4/package/index.css#L15), but IIUC, you want to constrain this to just `about:blank`. 

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


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

Received on Wednesday, 22 November 2023 17:24:57 UTC