W3C home > Mailing lists > Public > www-style@w3.org > May 2010

Re: [css-3 colors] Transparent backgrounds

From: Brad Kemper <brad.kemper@gmail.com>
Date: Tue, 11 May 2010 21:18:10 -0700
Cc: www-style@w3.org
Message-Id: <8150FEE5-8DBB-43BC-83DE-5D3844A90D47@gmail.com>
To: Alex Meiburg <timeroot.alex@gmail.com>

On May 11, 2010, at 7:21 PM, Alex Meiburg wrote:

> I was wondering how a transparent background should be rendered bu user agents. Suppose the body element (and perhaps the html element too) had a semi-transparent value - should they be cast against a white background, or should the window actually appear transparent as well, allowing the desktop/other windows to show though?
> If the latter, how should this be rendered on mobile platforms?
> Personally, I would be expecting a white background, but it would be interesting to have translucent parts of the webpage.

It would be kind of cool to allow translucency of the viewport (would you see other tabs too?). In Webkit, you can set HTML and BODY tags to transparent, but you still get white. Maybe it is some sort of security restriction, to prevent one page from appearing to be part of another that it is hovering over.
Received on Wednesday, 12 May 2010 04:18:46 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:07:46 UTC