- From: Luke Warlow via GitHub <sysbot+gh@w3.org>
- Date: Thu, 07 Dec 2023 18:10:03 +0000
- To: public-css-archive@w3.org
`data:text/html,<input style="color-scheme: dark"><input style="color-scheme: light"><input style="color-scheme: light dark">` is a good demonstration. The reason for your example appearing to not work is because of how color works. It's default value is CanvasText on html but then it inherits. So changing canvas text within the context of the section doesn't change how the CSS value is computed. If you add "color: CanvasText; background-color: Canvas;" to your example you'll see it works. -- GitHub Notification of comment by lukewarlow Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9660#issuecomment-1845867842 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 7 December 2023 18:10:06 UTC