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 20:22:04 -0700
To: David Perrell <davidp@hpaa.com>
Message-Id: <EB7AE1D4-015B-41A5-9FE4-5C3FA730D321@gmail.com>
Cc: "W3C style mailing list" <www-style@w3.org>
That is interesting. My tests confirm this too. If Webkit is already  
doing this with outline, then it seems like it already has the basic  
mechanism to do the same with *-shadow and border-image.

On Aug 4, 2009, at 7:30 PM, David Perrell wrote:

> Re: outlines should not affect scroll dimensions.
> I added a test case to http://hpaa.com/firefox/shadow.htm. Opera and
> Safari/Chrome render outlines per spec, with no effect on  
> scrollWidth. With
> Firefox, however, the outline affects scrollWidth. I don't have IE8
> installed.
> Maybe it would be helpful to imagine 'effects layers' above and  
> below each
> element. Overflow has no meaning on effects layers. Like the canvas,  
> they
> extend infinitely in 2 dimensions and clip only to the viewport.
> David Perrell
Received on Wednesday, 5 August 2009 03:22:49 UTC

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