W3C home > Mailing lists > Public > whatwg@whatwg.org > August 2007

[whatwg] require <map id>

From: Ian Hickson <ian@hixie.ch>
Date: Wed, 8 Aug 2007 06:03:43 +0000 (UTC)
Message-ID: <Pine.LNX.4.64.0708080601160.9521@dhalsim.dreamhost.com>
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

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:36 UTC