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

Re: Shadows vs. layout

From: David Hyatt <hyatt@apple.com>
Date: Tue, 04 Aug 2009 22:41:12 -0500
To: Brad Kemper <brad.kemper@gmail.com>
Message-id: <5C600778-85C8-482C-B7F3-701319E20E03@apple.com>
Cc: David Perrell <davidp@hpaa.com>, W3C style mailing list <www-style@w3.org>
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 GMT

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