- From: Del Merritt <del@alum.mit.edu>
- Date: Wed, 17 Oct 2007 13:52:17 -0400
- To: fantasai <fantasai.lists@inkedblade.net>
- Cc: www-style@w3.org
fantasai wrote:
>
> So far in CSS3 I've come across two implied counters:
> pages (CSS3 Paged Media)
> list-item (CSS3 Lists)
>
> The 'pages' counter is incremented on each page box, as if
> @page { counter-increment: pages; }
> were implied.
>
> The 'list-item' counter is incremented on each list-item, as if
> :select-all-elements-with-display-list-item { counter-increment:
> list-item; }
> were implied.
There is also historically the counter called "page" (maybe?); see the
message thread I started on May 25, 2007, with:
Subject: [css3-gcpm] counter() and "special" values
This included a discussion of general counter magic. I don't remember
seeing a response to Håkon's question:
Personally, I'm leaning towards defining the name of certain magic
counters in the GCPM draft.
http://www.w3.org/TR/css3-gcpm/
Perhaps addressing that now would be of value.
-Del
> My question is, what is the specified value of counter-increment on
> these boxes? If I specify "counter-increment: mycounter;" does the
> implied counter stop incrementing?
>
> Also, do we need to add a 'normal' or 'auto' value to counter-increment
> so that we can distinguish between
> counter-increment: none; /* doesn't increment implied counters */
> and
> counter-increment: normal; /* only increments any implied counters */
> ?
>
> ~fantasai
>
>
Received on Wednesday, 17 October 2007 17:52:32 UTC