W3C home > Mailing lists > Public > public-css-archive@w3.org > August 2020

Re: [csswg-drafts] [css-background-4] Switch to opt into transparent canvas for additive displays (#3949)

From: Rik Cabanier via GitHub <sysbot+gh@w3.org>
Date: Thu, 06 Aug 2020 23:13:37 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-670235978-1596755616-sysbot+gh@w3.org>
> > dark mode doesn't make much sense on an additive device. Such a UA should only support light mode.
> That's good. But what about a "fake" additive device. e.g. it's showing a camera feed on the display, and the web content floats above that. 

That's not an additive device since it can blend the web content with the real world using `source-over`. 
For instance, this means that black text can still be visible.

> Most of the time you'd want a solid background, but I can imagine widgets and other smaller UIs would want to cut through.

If you want parts to push through (and leave the initial background opaque), I don't think there's currently a way to do this.

> This also makes me wonder what happens to partially transparent backgrounds.

I don't follow. Can you list the scenario you're thinking of?

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

Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 6 August 2020 23:13:39 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:13 UTC