- From: Philip Rogers via GitHub <sysbot+gh@w3.org>
- Date: Fri, 22 Jul 2022 21:16:13 +0000
- To: public-css-archive@w3.org
This area is complex and I would like to avoid adding special-cases to the svg embedding case. It would be ideal if we could resolve the differences with svg vs iframe embedding too. For backwards compatibility reasons (e.g., pages would become unreadable with a black background), we cannot let `color-scheme` default to the preferred color scheme, so maybe it is best to disentangle the `prefers-color-scheme` media query and `color-scheme`? For example, `color-scheme` could just control browser UX (described [here](https://drafts.csswg.org/css-color-adjust/#color-scheme-effect)), and `prefers-color-scheme` could just return the OS dark mode setting or other user-set value. In this model, there are no differences between content in iframes vs svg. Embedded svg content with `prefers-color-scheme` media queries would match the global setting. -- GitHub Notification of comment by progers Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7526#issuecomment-1192940572 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 22 July 2022 21:16:15 UTC