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

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)

-- 
Henri Sivonen
hsivonen@iki.fi
http://hsivonen.iki.fi/

Received on Thursday, 11 October 2007 10:11:29 UTC