[Bug 17030] New: Lists should permit interleaved structuring

https://www.w3.org/Bugs/Public/show_bug.cgi?id=17030

           Summary: Lists should permit interleaved structuring
           Product: HTML WG
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: critical
          Priority: P2
         Component: HTML5 spec (editor: Ian Hickson)
        AssignedTo: ian@hixie.ch
        ReportedBy: bugzilla@francisdavey.co.uk
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-wg-issue-tracking@w3.org,
                    public-html@w3.org


It is common for lawyers to use numbered lists extensively, for example in
contracts and statutes. It is good style, and logical, to be able to group
parts of such a document using some form of document structuring and to give
parts of the document headings.

Doing this job properly in html is, at the moment, not possible if one wishes
to obey the DTD: <ol> may only have <li> as children.

I write a lot of website terms and conditions and I would like to use HTML more
widely as a source document for legal works. I am unhappy at having to adopt
hacks to achieve this or to change, what seems to me a useful semantics for no
good reason. 

I would not be surprised if this kind of interleaving was not also desirable in
other contexts.

I suggest it would be useful to be able to markup numbering in a way that would
allow at least headings and possible other structuring such as <section> to be
interleaved with that numbering. To that end, could the <h?> tags <hgroup> and
<section> be allowed as children of <ol>?

I realise there are hacks that would allow this. They are all quite ugly and in
some cases rather awkward. I can also see no good reason for the restriction.

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Thursday, 10 May 2012 14:26:34 UTC