[html5] figure details dt and dd

Ian Hickson ian at hixie.ch
Fri Jan 29 19:19:11 PST 2010


On Sun, 29 Nov 2009, Mauricio (Maujor) Samy Silva wrote:
>
> Hi,
> HTML 5 Specs for dt element says:
> 
> (1) - [quote]Contexts in which this element may be used: 
> In a figure element containing no other dt element children.[/quote]
> 
> So, only one dt is allowed as child of figure. Isn't it?
> 
> Now let's look at Specs for figure element:
> 
> (2) - [quote]The first dt element child of the element, if any, represents etc...[/quote]
> 
> Why *the first* in (2)?
> If it must be unique according (1) *the first* in (2) puzzled me. 

There are a number of examples of this kind of thing in the spec. They are 
cases where the spec is defining what should happen in browsers (or other 
user agents) when the author doesn't do what is required. Basically, 
they're error handling rules.

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



More information about the Help mailing list