W3C home > Mailing lists > Public > whatwg@whatwg.org > July 2005

[whatwg] WA1: <meta> attribute requirements

From: Christoph Päper <christoph.paeper@tu-clausthal.de>
Date: Tue, 19 Jul 2005 17:57:03 +0200
Message-ID: <42DD22CF.7060705@tu-clausthal.de>
Ian Hickson:
> The difficulty is in walking the fine line between useful and 
> over-constrained. For example, the fact that <ol></ol> is invalid in HTML4 
> is a real problem.


   <ol><li>This list item will be replaced by a script.</ol>

is not invalid. An empty list doesn't make any sense otherwise, IMHO, so 
it's sensible to require at least one 'li' child. Actually I would have 
made some content models rather stricter than looser.
I think both, hard-coded and script-generated markup?, have to be valid. 
Of course the latter may be invalid during steps in the script's run, 
but not after it finishes.

? Or the markup infered from the script-altered DOM tree.
Received on Tuesday, 19 July 2005 08:57:03 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:42 UTC