Re: [CSS21] Why do overflow values other than 'visible' establish a new block formatting context?

On 4/2/12 12:02 AM, Daniel Tan/BoltClock wrote:
> This makes sense for 'auto' and 'scroll', but what about 'hidden'? The
> spec says that 'hidden' indicates that overflowing content is clipped,
> and that no scrolling UI should be provided for viewing content that
> gets clipped.

While scrolling UI is not provided, the content is still scrollable 
programmatically, and a number of pages perform just such scrolling 
(e.g. by setting scrollTop on the relevant element).

-Boris

Received on Monday, 2 April 2012 04:10:00 UTC