W3C home > Mailing lists > Public > whatwg@whatwg.org > February 2010

[whatwg] Lists and legal documents

From: Markus Ernst <derernst@gmx.ch>
Date: Sat, 06 Feb 2010 11:31:02 +0100
Message-ID: <4B6D44E6.80603@gmx.ch>
Anne van Kesteren schrieb:
> Legal documents often use various indicators for list items. E.g.
> 
>   a. ...
>   b. ...
>   c. ...
> 
> or
> 
>   1. ...
>   2. ...
>   3. ...
> 
> or
> 
>     I. ...
>    II. ...
>   III. ...
> 
> or
> 
>   A. ...
>   B. ...
>   C. ...
> 
> etc.
> 
> These indicators are part of the content and cannot be governed by style 
> sheets. 

This looks like part of a more general problem to me. There are more 
situations where you want custom content in the place of list indicators:

For example, in a CV you might want the years there:

1977      ...
1978-1982 ...

Or, very common in forms, a check box or radio button:

o ...
o ...

Third (this a pure style problem though), sometimes you want just some 
custom character there, such as an n-dash:

? ...
? ...

While the third one can be achieved with al list-style-image, with the 
downside that it will not be affected by changes of the text size, the 
other examples need complex CSS trickery including floats, or layout tables.
Received on Saturday, 6 February 2010 02:31:02 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:55 UTC