W3C home > Mailing lists > Public > www-html@w3.org > April 2008

Re: proposed li:marker pseudo-class

From: L. David Baron <dbaron@dbaron.org>
Date: Tue, 1 Apr 2008 21:54:41 -0700
To: Mark Alford <alford@wuphys.wustl.edu>
Cc: www-html@w3.org
Message-ID: <20080402045441.GA409@ridley.dbaron.org>

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:


L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/
Received on Wednesday, 2 April 2008 04:55:18 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:06:19 UTC