[whatwg] require <map id>

On Sat, 10 Feb 2007, Anne van Kesteren wrote:
>
> Without an ID attribute a <map> element is useless. Perhaps in addition 
> a useful requirement would be that this ID attribute is referenced from 
> an image (either <img usemap> or <object usemap>).

Ok, made an ID required. If anyone can think of a reason to have a <map> 
hanging around without an ID, let me know.

I didn't make it required that images point to it. It's quite usual for 
vestiges to hang around.

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

Received on Tuesday, 7 August 2007 23:03:43 UTC