Re: overflow and list-items

On Fri, 4 Apr 2008, Arron Eicholz wrote:
>
> When a 'li' element or any element set to 'display: list-item' has a 
> setting for 'overflow' other than 'visible' what should happen to the 
> marker box when it is set to 'list-style-position: outside'?

Assuming that it falls outside the overflow box, it should disappear. The 
marker is part of the (first) line box of the list-item box. It should act 
exactly like any inline element on that line, just rendered flush with the 
start of the line box.

I wrote some prose on how this is supposed to work back in the 2002 
timeframe:

   http://www.w3.org/Style/Group/css3-src/css3-lists/#markers

...the latest version of which is here:

   http://cgi.w3.org/member-bin/process.cgi?method=url&url=http%3A%2F%2Fwww.damowmow.com%2Ftemp%2Fcsswg%2Flists%2Fcurrent%2Flists.src&output=html#model

It needs more work before we can call it a real spec, though.

HTH,
-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Tuesday, 22 July 2008 21:27:26 UTC