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

Re: Shadows vs. layout

From: Brad Kemper <brad.kemper@gmail.com>
Date: Tue, 4 Aug 2009 14:54:13 -0700
Message-Id: <E6A61D9D-DF65-4A09-90CF-AE2BE650336A@gmail.com>
To: Jonathan Kew <jonathan@jfkew.plus.com>
Cc: W3C style mailing list <www-style@w3.org>


Sent from my iPhone

On Aug 4, 2009, at 2:15 PM, Jonathan Kew <jonathan@jfkew.plus.com>  
wrote:

> On 4 Aug 2009, at 22:07, David Hyatt wrote:
>
>> Here's another idea that just occurred to me.  We could say that  
>> shadows, outlines, etc. can never cause a scrolling mechanism to  
>> appear, but just leave it at that.
>>
>> In other words you never let the shadows cause scrollbars to be  
>> created (or destroyed), but if scrollbars happen to already be  
>> there (because of some other overflow), then you can safely include  
>> the visual overflow as part of the scrolling area.
>
> So IOW the shadows (etc) could add to the total range of a  
> scrollbar, provided the scrollbar would have existed anyway? That  
> still leads to undesired visual effects in the case of dynamically- 
> changing shadows, as the size and/or position of the scrollbar thumb  
> is likely to jump around as the exact size of the overflow changes.
>
> JK
>
>

It is also undesirable if you had, say, a solid color sidebar against  
the right edge, and positioning a a shadowed item near that edge  
suddenly created an unwanted column of white space to the right of  
that. 
Received on Tuesday, 4 August 2009 21:55:28 GMT

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