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

Re: overflow and list-items

From: fantasai <fantasai.lists@inkedblade.net>
Date: Tue, 13 Jan 2009 18:21:49 -0800
Message-ID: <496D4C3D.8080402@inkedblade.net>
To: Brad Kemper <brkemper.comcast@gmail.com>
CC: David Hyatt <hyatt@apple.com>, "www-style@w3.org" <www-style@w3.org>

Brad Kemper wrote:
> I always thought it would make the most sense to treat the marker as 
> though it was position:absolute within (and relative to) the LI, with a 
> negative LEFT value and auto TOP and BOTTOM. In that case, it would not 
> affect the line-height, would not take up space, would not be affected 
> by the horizontal scroll position (but would be affected by the vertical 
> scroll position). I was thinking that it would be visible outside the 
> scrollbox of the UL or OL, but it looks like not: even though it is out 
> of the flow, it is still clipped by its overflow container, even when 
> overflow-x is supposed to be visible.
> I've posted some samples of what I mean here:
> http://bradclicks.com/cssplay/scrolling%20lists.html

The discussion isn't about setting overflow on <ol>, but rather of
setting overflow on <li>. <ol> isn't special in CSS, it's just another
block. <li> elements, however, are display: list-item.

Received on Wednesday, 14 January 2009 02:22:31 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:23 UTC