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>
Message-ID: <HIEDLECHAFDEPLGKECDDGEFNAMAB.davidp@hpaa.com>
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 02:38:09 GMT

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