[whatwg] WA1: <meta> attribute requirements
Christoph Päper
christoph.paeper at tu-clausthal.de
Tue Jul 19 08:57:03 PDT 2005
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.
Well,
<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.
More information about the whatwg
mailing list