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

RE: Shadows vs. layout

From: David Perrell <davidp@hpaa.com>
Date: Tue, 4 Aug 2009 19:30:13 -0700
To: "Brad Kemper" <brad.kemper@gmail.com>
Cc: "W3C style mailing list" <www-style@w3.org>
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

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 02:38:09 UTC

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