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

Re: [css-3 colors] Transparent backgrounds

From: Simon Fraser <smfr@me.com>
Date: Wed, 12 May 2010 17:35:10 -0700
Cc: www-style@w3.org
Message-id: <A6E2AFD0-93C7-46EE-A582-6879AB697AF1@me.com>
To: Alex Meiburg <timeroot.alex@gmail.com>
You really want the browser throwing up dialogs because someone used a CSS rule in a web page?

Simon

On May 12, 2010, at 5:05 PM, Alex Meiburg wrote:

> Maybe if the browser prompted the user first, asking if it was okay? Somewhat like the Windows "Administrator approval required" popups?
> 
> ~6 out of 5 statisticians say that the number of statistics that either make no sense or use ridiculous timescales at all has dropped over 164% in the last 5.62474396842 years.
> 
> On Wed, May 12, 2010 at 5:03 PM, Simon Fraser <smfr@me.com> wrote:
> No, those view modes are only descriptive of the current environment.
> 
> I really don't want web pages making my browser windows transparent. I think this is up to the UA.
> 
> Simon
> 
> On May 12, 2010, at 5:01 PM, Alex Meiburg wrote:
> 
>> But can "view-mode: floating" be set by the developer in anyway? How does one trigger this state?
>> 
>> ~6 out of 5 statisticians say that the number of statistics that either make no sense or use ridiculous timescales at all has dropped over 164% in the last 5.62474396842 years.
>> 
>> On Wed, May 12, 2010 at 9:12 AM, Simon Fraser <smfr@me.com> wrote:
>> On May 11, 2010, at 9:18 PM, Brad Kemper wrote:
>> 
>> > 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.
>> 
>> WebKit allows a transparent background in certain situations (Dashcode widgets use this, for example). I think the initial viewport color should be up to the user agent.
>> 
>> The recently-discussed view modes proposal has a mode, "floating", in which the background is transparent:
>> <http://www.w3.org/TR/view-mode/#view-modes>
>> 
>> Simon
>> 
>> 
> 
> 
Received on Thursday, 13 May 2010 00:35:45 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:27 GMT