W3C home > Mailing lists > Public > www-style@w3.org > August 2009

Re: Shadows vs. layout

From: Andrew Fedoniouk <news@terrainformatica.com>
Date: Mon, 03 Aug 2009 15:56:42 -0700
Message-ID: <4A776B2A.4050103@terrainformatica.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
CC: David Hyatt <hyatt@apple.com>, fantasai <fantasai.lists@inkedblade.net>, Brad Kemper <brad.kemper@gmail.com>, W3C style mailing list <www-style@w3.org>
Tab Atkins Jr. wrote:
> On Mon, Aug 3, 2009 at 5:09 PM, Andrew
> Fedoniouk<news@terrainformatica.com> wrote:
>> Tab Atkins Jr. wrote:
>>> On Mon, Aug 3, 2009 at 4:22 PM, Andrew
>>> Fedoniouk<news@terrainformatica.com> wrote:
>>>> Tab Atkins Jr. wrote:

....

>>>> The only case when the shadow is just such a background - is a part of
>>>> window (read: DOM element) background itself as here
>>>> http://www.terrainformatica.com/htmlayout/images/tooltip-balloon.jpg for
>>>> example.
>>> Hmm, HTMLayout lets elements jump out of the application's window?
>>> That's... weird.
>> Jumps as in any other UA. tooltips (titles) and drop lists of <select>s for
>> example. Why do you think they are not weird?
> 
> Well, first, I had forgotten that <select> and @title and such jump
> out of the window. 

And context menus btw...

> 
> Second, that seems like a big security risk.  The current "jumps out
> of the window" items are very strictly controlled, and very distinct.
> Letting arbitrary styleable elements jump out of the window seems
> problematic - it could overlay important things.  That's not an issue
> in an installed program, but in a webpage it may be.
> 

Lifespan of popup elements is very close to menu, dropdown lists and 
tooltips, if you click somewhere else they will gone.

Such windows do not have caption or system border, are limited in their 
size and position and cannot live without host web page in focus so it 
is pretty hard to fool anyone.

I don't think I need to speak about benefits of e.g. styleable popup 
menus for web ajaxplications as this is really far from the topic of 
initial discussion.

-- 
Andrew Fedoniouk.

http://terrainformatica.com
Received on Monday, 3 August 2009 22:57:14 GMT

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