W3C home > Mailing lists > Public > www-style@w3.org > December 2011

Re: [css3-lists] scoping and display: list-item

From: Simon Sapin <simon.sapin@kozea.fr>
Date: Wed, 07 Dec 2011 17:47:42 +0100
Message-ID: <4EDF98AE.7070304@kozea.fr>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
CC: www-style@w3.org
Le 07/12/2011 17:35, Tab Atkins Jr. a écrit :
> On Wed, Dec 7, 2011 at 8:07 AM, Simon Sapin<simon.sapin@kozea.fr>  wrote:
>> >  Speaking of scope: elements with "display: list-item" increment the
>> >  list-item counter. Is that with the same scoping rules as counter-increment?
>> >  Namely, if the counter is not in scope at this point, a new counter is
>> >  created with the usual scoping rules.
> That functionality is actually implemented*via*  those properties,
> down in the UA stylesheet.
>

The UA stylesheet only suggests in a comment that it is:

li {
	display: list-item;
	/* counter-increment: list-item; (implied by display: list-item) */
}

-- 
Simon Sapin
Received on Wednesday, 7 December 2011 16:48:31 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:47 GMT