Re: Comparing conformance requirements against real-world docs

On Fri, 26 Dec 2008, Lee Kowalkowski wrote:
> 2008/12/24 Ian Hickson <ian@hixie.ch>:
> > On Sat, 30 Aug 2008, Henri Sivonen wrote:
> >> 0.0329        Required children missing from element "dl".
> >
> > Presentational abuse?
> 
> A list cannot have zero items?  Why not?  I think it's nicer to allow 
> especially in a dynamic context, it would be more convenient if scripts 
> didn't have to remove a list's container if/when its last item is 
> removed.

An empty <dl> wouldn't cause that error message. That message comes from 
scenarios like <dl><dt></dl>, <dl><dd></dl>, and <dl><dd><dt></dl>.

(Maybe the message should be improved?)

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

Received on Saturday, 27 December 2008 07:04:12 UTC