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

[whatwg] Lists and legal documents

From: Anne van Kesteren <annevk@opera.com>
Date: Fri, 05 Feb 2010 16:21:03 +0100
Message-ID: <op.u7nt9duv64w2qv@annevk-t60>
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. End users having their own custom style sheets overwriting the  
indicators with their own preference would be a problem, for instance.

I have seen at least one editor used that generates markup like this:

   <ul>
    <li><span class="ol">a.</span> ...</li>
    ...

to work around this. You can see this online here:

   http://regels-stadskanaal.nl/

I think it would be good if we either solved this problem natively or at  
least gave some advice for people finding themselves in a similar  
situation.


(That editor/site also has ordered definition lists, with similar markup.)


-- 
Anne van Kesteren
http://annevankesteren.nl/
Received on Friday, 5 February 2010 07:21:03 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:20 UTC