Re: Shadows vs. layout

The way I did outline is an abomination that I am going to eliminate  
when I move to this new ink overflow model.  You don't even want to  
know how I got that to work. :)

dave
(hyatt@apple.com)

On Aug 4, 2009, at 10:22 PM, Brad Kemper wrote:

> 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:41:55 UTC