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

[CSS21] error in counters example

From: L. David Baron <dbaron@dbaron.org>
Date: Thu, 16 Jun 2005 10:40:20 -0700
To: www-style@w3.org
Message-ID: <20050616174020.GA15682@ridley.dbaron.org>
It was pointed out in [1] that there is an error in the first example in
section 12.4 [2].  The simplest fix is to add a style rule to the
example:

  body { counter-reset: chapter; }   /* create a chapter counter scope */

so that the implicit counter creation rules don't create a separate
counter for each header.

-David

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=288946
[2] http://www.w3.org/TR/2005/WD-CSS21-20050613/generate.html#counters

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

Received on Thursday, 16 June 2005 17:40:36 GMT

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