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

Re[2]: against counters: new property 'numbering'

From: Dmitry Turin <sql40@narod.ru>
Date: Thu, 21 Jun 2007 08:38:51 +0300
Message-ID: <724964787.20070621083851@narod.ru>
To: www-style@w3.org

Good day, March.

What is the tag <h> ??

M> really like XHTML 2 style:

M> <section>
M> <h>...</h>
M> ...
M> </section>

>> (1) There are only two case in numbering:
>> all counters or one counter is displayed in item, i.e.
>>
>> 1. text
>> 2. text
>>  2.1. text              /*** numbering=all ***/
>>  2.2. text
>> 3. text
>>
>> 1. text
>> 2. text
>>  1. text                /*** numbering=one ***/
>>  2. text
>> 3. text
>>
>> And new one property for LI, H1-H6 will be easier for user
>>
>> li {
>>   numbering: all;
>> }
>> h1,h2,h3,h4,h5,h6 {
>>   numbering: all;
>> }
>>
>> then complex construction with counters (like the following) !
>> Real life is narrower, than css-standard !
>>
>> h2::before {
>>     content: counter(chapter) "." counter(section) " ";
>>     counter-increment: section;
>> }
>> li::before {
>>     content: counter(chapter) "." counter(section) " ";
>>     counter-increment: section;
>> }
>>
>> (2) There is standard to separate counters: only by dot.
>> Therefore it's unnecessary to give possibility to glue counters
>> through other mark of punctuation (like in example above) -
>> _life is narrower, than css-standard_.
>> Thus LI,H1-H6 don't need '::before' and 'content' for this purpose.
>>
>> But H1-H6 need property 'header-style-type',
>> which is analogous to 'list-style-type'.
>>
>> (3) Look at documentation of w3.org and whatwg.org:
>> do you see prefix "chapter, section, etc" ? No !
>> These prefixes are used seldom.
>> And '::before' should be intended for this seldom case,
>> should be intended for experienced user.
>> But simple user want to create document quickly and simply.


Dmitry Turin
HTML6     (6.1.0)  http://html60.chat.ru
SQL4      (4.0.5)  http://sql40.chat.ru
Computer2 (2.0.2)  http://computer20.chat.ru
Received on Thursday, 21 June 2007 05:49:26 GMT

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