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

[whatwg] [html5] HTMLMapElement.images

From: Ian Hickson <ian@hixie.ch>
Date: Wed, 8 Aug 2007 05:54:33 +0000 (UTC)
Message-ID: <Pine.LNX.4.64.0708080522050.9521@dhalsim.dreamhost.com>
On Sat, 1 Jul 2006, dolphinling wrote:
> Anne van Kesteren wrote:
> > Quoting Shadow2531 <shadow2531 at gmail.com>:
> > > On 6/13/06, Anne van Kesteren <fora at annevankesteren.nl> wrote:
> > > > Before I forget about this hereby a proposal to give the
> > > > HTMLMapElement interface a new (readonly) member called `images` or
> > > > equivalent representing an HTMLCollection consisting of
> > > > HTMLImageElement and HTMLObjectElement (and perhaps
> > > > HTMLCanvasElement?) elements that use that image map definition.
> > > 
> > > Do you want the INPUT element in the collection too? (because of
> > > type="image")
> > 
> > Probably only when type="image", but yes.
> 
> Can you even have an image map on an <input type="image"> ?

You can in HTML4, Firefox, and Opera (and now HTML5).

You can't in IE and Safari.

Should we drop it? My research indicates there's an insignificant number 
of pages with usemap="" attributes on <input type=image> elements (on the 
order of 0.008%).

Anyway, I've added the attribute Anne suggested to the <map> element.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Tuesday, 7 August 2007 22:54:33 UTC

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