W3C home > Mailing lists > Public > www-style@w3.org > June 2005

Re: [CSS2.1] Counters nesting

From: L. David Baron <dbaron@dbaron.org>
Date: Wed, 15 Jun 2005 18:48:05 -0700
To: www-style@w3.org
Message-ID: <20050616014805.GA7218@ridley.dbaron.org>
On Wednesday 2005-06-15 18:40 -0700, L. David Baron wrote:
> Your "should be" statements don't make sense.  The declaration 'content:
> counter(item) "," counters(item, ".")' can only produce results of the
> form "x,y.z" if x is equal to z, since the last part of the counters()
> is the same as what counter() produces.

A better way of saying what I was trying (badly) to say there is:

counter(item) is *always* a final substring of counters(item, ".").
(Not necessarily a proper substring, though, since when only one counter
named "item" is in scope, they're the same.)

-David

-- 
L. David Baron                                <URL: http://dbaron.org/ >
          Technical Lead, Layout & CSS, The Mozilla Foundation

Received on Thursday, 16 June 2005 01:48:09 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:37 GMT