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

Re: breaking overflow

From: Anton Prowse <prowse@moonhenge.net>
Date: Wed, 30 Dec 2009 20:44:28 +0100
Message-ID: <4B3BAD9C.1030800@moonhenge.net>
To: Brad Kemper <brad.kemper@gmail.com>
CC: "Tab Atkins Jr." <jackalmage@gmail.com>, Niels Matthijs <niels.matthijs@internetarchitects.be>, www-style <www-style@w3.org>
Brad Kemper wrote:
> On Dec 30, 2009, at 9:05 AM, Tab Atkins Jr. wrote:
>> Even when I've used overflow:hidden for correct reasons - I really
>> do want the overflow to be hidden - I sometimes have children that
>> I *do* want to 'overflow'. Often these children are abspos and
>> just positioned outside of the block.
> 
> I brought up the idea of overflowed abspos children being visible
> beyond the clipped box a couple years ago, but there were some hairy
> problems associated with how that would would work with scrollbars
> that they might overlap, if I recall correctly.
> 

IIRC this issue arose during discussion of a proposal regarding the
z-index of scrollbars.

I believe the situation as currently widely implemented works in a
satisfactory way: when an element O with non-'visible' overflow comes
strictly between an absolutely positioned element A and its containing
block, A does not interact with the scrollbars of O in any special way.
Instead A either lies "on top of" or "underneath" O and its scrollbars
depending on the z-index of A.

Cheers,
Anton Prowse
http://dev.moonhenge.net
Received on Wednesday, 30 December 2009 19:45:31 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:13:41 UTC