[w3m-dev 04116] Re: start attribute and value attribute on ordered lists
TSUCHIYA Masatoshi <[email protected]> Thu, 04 Nov 2004 14:34:10 +0900
| Newsgroups | gmane.comp.web.w3m.devel |
|---|---|
| Message-ID | <[email protected]> |
>> On Thu, 04 Nov 2004 13:48:15 +0900 >> == [email protected] (TSUCHIYA Masatoshi) said as follows: > ? CSS1 start CSS2 http://www.w3.org/TR/2004/CR-CSS21-20040225/generate.html web> 12.4 Automatic counters and numbering (snip) web> 'counter-reset' web> Value: [ <identifier> <integer>? ]+ | none | inherit web> Initial: none web> Applies to: all elements web> Inherited: no web> Percentages: N/A web> Media: all web> Computed value: as specified (snip) web> The 'counter-reset' property also contains a list of one or more web> names of counters, each one optionally followed by an integer. web> The integer gives the value that the counter is set to on each web> occurrence of the element. The default is 0. web> 4.3.1 Integers and real numbers web> web> Some value types may have integer values (denoted by <integer>) web> or real number values (denoted by <number>). Real numbers and web> integers are specified in decimal notation only. An <integer> web> consists of one or more digits "0" to "9". A <number> can either web> be an <integer>, or it can be zero or more digits followed by a web> dot (.) followed by one or more digits. Both integers and real web> numbers may be preceded by a "-" or "+" to indicate the sign. integer <style type="text/css"> OL.zero { counter-reset: item -1 } </style> <body> <ol class="zero"> <li>A <li>B </ol> </body> Mozilla Firefox 1.0RC1 IE6 start/value -- ( TSUCHIYA Masatoshi )