Re: Shadows vs. layout

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