[whatwg] WA1: <meta> attribute requirements

Ian Hickson ian at hixie.ch
Tue Jul 19 09:10:11 PDT 2005


On Tue, 19 Jul 2005, Christoph Päper wrote:
>
> 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.

It's also wrong, since that isn't really a list item.


> An empty list doesn't make any sense otherwise, IMHO, so it's
> sensible to require at least one 'li' child.

   <h2>Your todo list:</h2>
   <ol>
   </ol>

...makes sense to me.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'


More information about the whatwg mailing list