Re: Editorial: Please indicate presence rules for type='' and media='' on <source> under "Element-specific attributes"

On Thu, 11 Oct 2007, Henri Sivonen wrote:
> 
> http://www.w3.org/html/wg/html5/#source
> 
> Currently, when type='' and media='' for <source> are listed under 
> "Element-specific attributes", they are presented the way syntactically 
> optional attributes are presented. The prose clarifies that they are, in 
> fact, not always optional. For clarity and consistency with how other 
> attributes with special presence rules are listed (e.g. ismap on <img>), 
> I suggest something along these lines:
> 
> type (required if media not given and there are further source element
> siblings)
> media (required if type not given and there are further source element
> siblings)

I removed the annotations altogether, since there were more special cases 
than simple cases.

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

Received on Friday, 9 May 2008 07:15:19 UTC