Re: proposed li:marker pseudo-class

On Tuesday 2008-04-01 10:38 -0500, Mark Alford wrote:
> The problem is that the list item only knows about one font size, which
> it uses for its marker and also for the contents of <li>...</li>.
>
> One can patch this with <div> constructs, but the natural fix would be for 
> there to be a li:marker pseudoclass, like li:first-line, which
> allows one to control the font-size of the list marker, without
> at the same time messing up the font size of the rest of the contents
> of the list item.

This would have to be a pseudo-element, not a pseudo-class.

Other than that, this is already proposed as part of css3-lists:
http://www.w3.org/TR/2002/WD-css3-lists-20021107/#markers

-David

-- 
L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/

Received on Wednesday, 2 April 2008 04:55:18 UTC