W3C home > Mailing lists > Public > www-style@w3.org > October 2007

[CSS3-content] Implied counter-increment

From: fantasai <fantasai.lists@inkedblade.net>
Date: Wed, 17 Oct 2007 13:35:37 -0400
Message-ID: <471647E9.10502@inkedblade.net>
To: www-style@w3.org

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.

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 */
   counter-increment: normal; /* only increments any implied counters */

Received on Wednesday, 17 October 2007 17:35:58 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:13:23 UTC