This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 28219 - Remove HTMLMapElement.images (no implementation since 2007)
Summary: Remove HTMLMapElement.images (no implementation since 2007)
Status: RESOLVED FIXED
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: Unsorted
Assignee: Domenic Denicola
QA Contact: contributor
URL: https://html.spec.whatwg.org/#the-map...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-15 15:45 UTC by contributor
Modified: 2015-08-28 04:12 UTC (History)
6 users (show)

See Also:


Attachments

Description contributor 2015-03-15 15:45:34 UTC
Specification: https://html.spec.whatwg.org/
Multipage: https://html.spec.whatwg.org/multipage/#the-map-element
Complete: https://html.spec.whatwg.org/#the-map-element
Referrer: 

Comment:
Remove HTMLMapElement.images (no implementation since 2007)

Posted from: 14.162.102.1
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.115 Safari/537.36 OPR/27.0.1689.76
Comment 1 Philip Jägenstedt 2015-03-15 15:56:47 UTC
This API was added in 2007:
https://html5.org/r/986

I've tested or looked at the source code of Gecko, Presto, WebKit, Blink and IE, and none of them have implemented it.

I think this is where it started:
https://lists.w3.org/Archives/Public/public-whatwg-archive/2006Jun/thread.html#msg165

Unless someone shows interest in implementing, I think it's time to remove it.
Comment 2 Simon Pieters 2015-03-16 10:43:58 UTC
I think the reasonably-accurate replacement is

document.querySelectorAll(':matches(img, object, input[type=image])[usemap="#' + CSS.escape(map.name) + '"]')


but can be simplified if you can make some assumptions

document.querySelectorAll('[usemap="#' + map.name + '"]')
Comment 3 Ian 'Hixie' Hickson 2015-03-30 23:08:50 UTC
Yeah image maps are mostly dead so dropping this seems reasonable...