[whatwg] <input usemap> (was: Re: [html5] HTMLMapElement.images)

On Wed, 8 Aug 2007, Michael A. Puls II wrote:
> On 8/8/07, Anne van Kesteren <annevk at opera.com> wrote:
> > On Wed, 08 Aug 2007 07:54:33 +0200, Ian Hickson <ian at hixie.ch> wrote:
> > > 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%).
> >
> > The only usecase, while using <input> as control, seems to be to make
> > certain parts of the image not "clickable". Given that, it makes sense to
> > me to reduce the number of attributes browsers have to implement for
> > <input>...
> 
> Also, besides Safari and IE not supporting <input usemap>, Opera's
> behavior of it is differs depending on whether the input is in a form
> or not. (If it's not in a form, it doesn't behave like a button.)
> 
> Also, in Opera, if the map the input is associated with has 2 area
> elements, each with their own title attribute, when hovering over the
> coordinate range for the second area element in the image, Opera won't
> display a tooltip.
> 
> For example, see http://shadow2531.com/opera/testcases/imagemaps/001.html
> Hovering over each square should show a title tooltip, but the bottom
> red one fails in Opera. Check in FF to compare.
> 
> I've only used <input usemap> for test cases and can't think of any good 
> use for it since it's not even supported well.

I did a thorough study of this (details below) and I concluded that we're 
better off removing it. I've removed <input usemap> from the spec.

Out of 3.5 billion or so HTML pages examined in this survey, only 0.00036% 
(about 12000) had a usemap="" attribute on an <input> element pointing to 
a <map> that contained an <area> with both a coords="" attribute and an 
href="" attribute, the latter of which was not the empty string or a 
single "#". These pages were distributed over about 500 separate domains.

This is a sample of those pages, one per domain, strongly biased towards 
front pages -- if a site had an affected front page, that's the page that 
was selected. Any URLs with numbers, ampersands, question marks, and 
commas have been dropped, to make the list easier to manage. I looked at 
some and didn't find any pages that would be negatively affected by 
removing this feature. (Other people looked at some pages from an earlier 
study along the same lines and actually found several pages that would 
work _better_ if you didn't support <input usemap>, too.)

http://alforag.com/donate/
http://antikapital.de/
http://arotrade.com/inquiry.htm
http://beadsboom.com/
http://bestgt.co.kr/
http://bhc.co.jp/
http://campus.ciss.es/ciss/
http://cartucce-compatibili.it/default.asp
http://cipk.cleani.info/event/event_write.php
http://darrylo.com/web_promotion.htm
http://directaccesscard.com/introduction.php
http://dungeon.happymobile.co.kr/
http://dvs.si/
http://edodo.net/photo/
http://en.hhu.edu.cn/
http://es-marquescastilho.edu.pt/a.htm
http://est.yescall.com/company/
http://exam.newstudy.net/
http://ezbizz.com/site/
http://futowncorp.com/company.html
http://gateway-bayern.bib-bvb.de/
http://gctinc.com/index.html
http://globulus-ural.com/links.php
http://greatvision.org/
http://hammitup.com/
http://hanaroclinic.net/
http://hiddenvalleymuskoka.com/dinner.html
http://hsb.ac.in/mscml.html
http://intenseactionkrew.com/
http://jscorea.co.kr/audition.htm
http://lifelong.kookmin.ac.kr/login.asp
http://lifesupportonline.com/
http://linkcommand.com/index.php
http://livevibesrecording.com/pages/purchase.html
http://mail.bnet.cn/
http://mariaclaralopez.com/
http://moa-mall.com/index.php
http://my.habbo.name/Flins/
http://newenglandlighting.com/newpages/new.html
http://osmosys.com.mx/contacto.html
http://paydayloantoday.com/
http://php.pol.fr/irce-anciens/general.html
http://piperenterprisesinc.com/
http://planetabuba.net/secciones/galeria/buba/bgal.html
http://pmacorp.master.com/texis/master/search/
http://promocatalog.gesupply.com/dev/help.php
https://publish.insightbb.com/html-jsp/announce.htm
http://realestate.bannisterdesign.com/grostick.com/search.php
http://sayersautorepair.com/appt.html
http://shop.divebooty.co.uk/
http://shop.divebooty.com/
http://shrewsburylumber.com/login.php
http://sls.suffolk.edu/location.html
http://stlcin.missouri.org/citydata/newdesign/projectmap.cfm
http://store.yahoo.co.jp/samurai-japan/
http://sydneyjumpingcastles.com.au/quote.html
http://taternik.pza.org.pl/
http://tbnf.e-kai.com.tw/chinese/beef_shop.php
http://tessapictures.com/formB.html
http://thisdancan.com/
http://tom-architekten.com/kontakt.htm
http://torrebermeja.com/
http://tour.itinjeju.com/
http://towerhall.lk/
http://town.botwood.nl.ca/pages/accommodations.php
http://traineverybody.com/contact.php
http://tressawilliams.com/main.html
http://webikorea.net/login.asp
http://webmail.arnet.com.ar/
http://wemsa.com/cruise/video.htm
http://weppipakki.com/html/attribs/usemap.htm
http://wristbrands.co.uk/
http://www.aapkidukaan.com/
http://www.achat-vin.net/
http://www.ademi-ba.com.br/novo/main/associados/banco_curriculo.jsp
http://www.adlibpromo.com/businessservices.html
http://www.adultedonline.soe.uwm.edu/
http://www.agefi-database.fr/fonctions.asp
http://www.albumtown.com/
http://www.alforag.com/
http://www.algeka.com/
http://www.aloharents.com/hi-news.htm
http://www.alzambra.es/
http://www.ameos.com/concepts-de-gestion/erp.html
http://www.antikapital.de/
http://www.ardiflex.com/
http://www.aripagua.com/index_support.html
http://www.asha-epharmacy.com/
http://www.aulainfantil.com/index_links/publica.htm
http://www.autoresponder.co.za/
http://www.batch-web.com/
http://www.benirentals.com/index.htm
http://www.bennet.com/istituzionale/punti/login-punti.asp
http://www.bh.md/
http://www.bhc.co.jp/chumon.asp
http://www.bingxin.com.cn/
http://www.briarthorn.com/LOCATION.htm
http://www.bruindelts.com/public_html/cost.html
http://www.bstreet.co.kr/helpdesk/help_faq.asp
http://www.bypiao.cn/
http://www.cacula.com/
http://www.cartucce-compatibili.it/
http://www.cashninja.com/cash_advance.htm
http://www.ccne-ethique.fr/english/liste/l_find.htm
http://www.cecglobalgroup.org/
http://www.ceec.gov.cn/Press/index.asp
http://www.celebration-of.com/Public/DefaultBaby.aspx
http://www.cenebaz.com/sohbet/
http://www.chalets-emelie.com/FR_ChBleu.html
http://www.chartersch.soe.uwm.edu/
http://www.china-fflm.com/
http://www.clickets.com/Clickets_Map.asp
http://www.colinasdelpuerto.com/
http://www.collegeinterviewedge.com/
http://www.commercialformulas.com/
http://www.comunidadduquesagolf.com/
http://www.comunidadlarinconada.com/
http://www.condominium-net.com/
http://www.coralreefanimalclinic.com/contactus.php
http://www.cortiana.com.br/
http://www.counterpartylink.com/
http://www.cowei.cn/wu/dc/cn/product.asp
http://www.currinsadvising.soe.uwm.edu/
http://www.dalpafreightrateassistant.co.uk/
http://www.dde.eu/home/
http://www.dde.it/contact/commenti/
http://www.denisebroadwell.com/bio.html
http://www.dietwatch.com/dietwatch/enrollment/testimonials.asp
http://www.directaccesscard.com/aboutus.php
http://www.discountwheels.net/index.php
http://www.dnbooks.com/member/mydn_main.asp
http://www.dnss.co.kr/
http://www.dorigny.fr/
http://www.duobackmart.com/
http://www.e-trainingsolution.com/mfad/left.asp
http://www.ecofriendunit.com/enquiry.html
http://www.ecuaglobal.com/magic.htm
http://www.edil-calce.it/
http://www.editions-tobias.com/commander.html
http://www.edpartnr.soe.uwm.edu/
http://www.ehworks.com/Contact/contact.html
http://www.enchere-vin.com/fr/cotes_vins_search/vin-q.jsp
http://www.eracreation.net/en/
http://www.esmastv.com.mx/
http://www.estrelladelabahia.net/
http://www.evolutionaertselskab.dk/
http://www.executive.com.mx/
http://www.familyhealthbudget.com/
http://www.fes.edu.eg/
http://www.filterself.co.kr/
http://www.flavash.com.ar/Chasing.htm
http://www.foresthomecemetery.com/
http://www.futowncorp.com/company.html
http://www.gateway-to-french-property.com/
http://www.gawantour.co.kr/
http://www.gaydestination.net.au/business-community-guide-entertainment-lifestyle-gay-destination-lesbian.php
http://www.getpaydayloansquickly.com/
http://www.globintercom.it/
http://www.globulus-ural.com/
http://www.golfaroundtown.com/
http://www.golpump.com/
http://www.gssjobs.com/
http://www.habboremix.net/
http://www.hanaroclinic.net/
http://www.hemagidsvantalent.nl/toegangscode.asp
http://www.hiddenvalleymuskoka.com/contact.html
http://www.hindsgop.com/
http://www.hislopcollege.ac.in/
http://www.houffalize.be/site/redirect.htm
http://www.hsb.ac.in/
http://www.hvmuskoka.com/contact.html
http://www.idealwine.com/
http://www.idealwine.fr/fr/offre-iDeales/Offres-iDeales.jsp
http://www.industryday.micronano.ethz.ch/registration_e.html
http://www.internalauditcourse.it/ing/index.asp
http://www.interplaquel.com.br/default.php
http://www.invertirenbosques.com/
http://www.ipr-net.com/web-content/Pages/CCW_Registration.html
http://www.irishinternetmarketing.com/
http://www.jacarandas.org/
http://www.jarales.net/
http://www.jardins-cocreatifs.com/accueil.asp
http://www.jindoculture.or.kr/
http://www.jomashop.com/
http://www.jomashop.net/crtballpoint.html
http://www.jomatime.com/ipod.html
http://www.judospartacus.org/Links.html
http://www.jungik.com/professor.html
http://www.kardiologiadzieci.pl/
http://www.ktaxi.pe.kr/
http://www.kuhn-baumschule.de/kontakt.htm
http://www.kurmigroup.org/
http://www.kwnc.or.kr/
http://www.la-couleur.com/order.html
http://www.lagosdesierrablanca.net/
http://www.laquintahills.es/
http://www.laredytu.com/comun/adicc_test.php
http://www.lasuisse.co.uk/
http://www.lasvegasdirectonline.com/lvhotelmapmain.html
http://www.lcdpkorea.com/Join/Modify.asp
http://www.lcw.cc/foot/team.htm
http://www.learningobjects.soe.uwm.edu/
http://www.leemovie.de/
http://www.letsgouk.net/
http://www.lifesupportonline.com/
http://www.linkcommand.com/
http://www.littleroadflower.com/mailingList.htm
http://www.losmateos.com/
http://www.lovelikethat.com/pages/daysinn.html
http://www.lrkj.com.cn/product.asp
http://www.mailzonelv.com/
http://www.maison.com.my/html/djs.html
http://www.makingstoragesimple.com.cn/webcast/CLARiiONSolution/
http://www.mariaclaralopez.com/
http://www.master-imo.com/
http://www.medinagarden.net/
http://www.megaagent.com/schmidt_chris/default.asp
http://www.memra.org/
http://www.merbabies.co.uk/nsg.htm
http://www.merikom.pl/onas_index.htm
http://www.mesnut.net/member/pass_find.asp
http://www.mezaavize.lv/
http://www.michael-bechtel.de/
http://www.microcoms.net/
http://www.middletownymca.org/
http://www.minidisc.org/keep/SONY_himd_announcement.htm
http://www.misawa-takashina.com/mgeo/index.html
http://www.mmhuayue.com/
http://www.mnantico.com/zorka.htm
http://www.moa-mall.com/index.php
http://www.mooseheadparis.com/
http://www.mountains.org/gatl_visitor_info.html
http://www.msgop.org/
http://www.muehlebach-honda.ch/Pages/Neue.html
http://www.musik-riedel.de/code/other/karte.htm
http://www.musique.levinux.org/Denis_Dion/Pages/CV.html
http://www.naranjoshillclub.com/
http://www.narkospas.ru/
http://www.nassogne.be/site/gauche.htm
http://www.nationallife.com/
http://www.natureco.com.sg/
http://www.ncaoa.com/
http://www.nexpc.co.kr/bench_board/_bench_list.php
http://www.nexserver.co.kr/goods/estimates.php
http://www.nielsenbusiness.com/deu/azienda.asp
http://www.northclainesparishcouncil.gov.uk/
http://www.northsinai.gov.eg/homepage-of.html
http://www.nufact.com/index.php
http://www.nursesfromabroad.com/html/management.html
http://www.oconomowocusa.com/location.htm
http://www.officialcorbin.com/
http://www.openflower.co.kr/
http://www.orlandopainclinic.com/contact_us.html
http://www.paintball-gun-supply.com/merchants/
http://www.partycook.co.kr/
http://www.passporthelper.com/diagram/index.html
http://www.paydayloantoday.com/
http://www.perfectguys.com/join.html
http://www.pia.ac.kr/intranet/intra_login.asp
http://www.piao.com/user/zhuce.asp
http://www.pinckneydesigns.com/
http://www.piperenterprisesinc.com/about.html
http://www.pirenifoto.info/index-CAT.html
http://www.pmacorp.com/
http://www.poconeonline.com/
http://www.pokermarktplatz.de/versand.html
http://www.prochoiceforum.org.uk/irl_abort_dis.asp
http://www.qataria.net/news/weeklynews.htm
http://www.qualitysurvey.es/
http://www.rakuten.ne.jp/gold/samurai-japan/sidenavi.html
http://www.rapemypage.com/
http://www.redelk.org/website/order.htm
http://www.restaurantguideatlanta.com/atlantametromap.htm
http://www.rethinkingrowley.soe.uwm.edu/
http://www.ronrandolph.com/
http://www.rotarycltportcity.org/
http://www.samili.com/
http://www.saomiguel.pr.gov.br/cmid/novo.php
http://www.schwartzkopf.ca/
http://www.scubabooty.co.uk/dive_shop/merchants/merchants.asp
http://www.scubabooty.com/dive_shop/merchants/merchants.asp
http://www.semiworld.com.cn/
http://www.server.kz/
https://www.serviceamerica.com/agreements/contract_survey.aspx
http://www.she.com.br/cartao/index.asp
http://www.shopelegantcheesecakes.com/
http://www.smilingzebra.com/videosales/
http://www.smokymountainstoday.com/packet.html
http://www.so-net.net.tw/artist/terrylin/biz.html
http://www.soe.uwm.edu/
http://www.solucionesangel.com/
http://www.stadiumdistrict.com/TruckingEmployment/ForwardBack.html
http://www.stadtklima-stuttgart.de/windfeld/windfeldrelief.htm
http://www.stoneflower.ru/
http://www.stoppolj.hu/
http://www.studiokeysnc.it/colori_piatti.html
http://www.stutman.com/
http://www.sweltermerchandise.com/
http://www.swflshowhomes.com/about_us.htm
http://www.symbolian.com/magic/for_magic_main.php
http://www.szbroad.com/cn/about.asp
http://www.t-r-m.co.za/
http://www.takeouttheshort.com/jonsbio.htm
http://www.targatrasporti.it/corpo_azienda.htm
https://www.tasb.org/apps/icen/icenCatList.cfm
http://www.teda.gov.cn/cms/index.jsp
http://www.thebelletristic.com/
http://www.theinternationalschool.org/contactus.html
http://www.theonlineprofessional.com/paydayloan/
http://www.thunderchiefs.com/
http://www.timehonoredtributes.com/content/aboutus.asp
http://www.tinfo.net/html/BluePrint.html
http://www.tiscoetrade.com/
http://www.tomaplantilla.com/ifaq.php
http://www.tomsystems.com/
http://www.torrebermeja.com/Comunidad/ES/default.asp
http://www.totalrelationship.co.za/
http://www.towerhall.lk/
http://www.traineverybody.com/
http://www.transumanza.eu/biblio.html
http://www.tricityequipment.com/
http://www.uma.pt/thd/ecologia.htm
http://www.viacaosantoantonio.com.br/
http://www.viaticustech.com/
http://www.vipbloggers.com/
http://www.virgingames.com/bingo/
http://www.virtual.ie/eating.html
http://www.vs-ewis.com/fr_cours.html
http://www.wayouteast.com/
http://www.well-health.com/
http://www.wemsa.com/
http://www.wgh.org/html/home-areainfo-pop.html
http://www.wheresmysquare.com/
http://www.whmautopilotlicensing.com/
http://www.whzsbz.com/
http://www.wisconsinems.com/hotsheet.HTM
http://www.womusa.com/Locations/map.html
http://www.woodspread.com/dev/tips/
http://www.worldadonis.com/
http://www.worldfamousface.com/index.php
http://www.wrexd.com/paydayok.html
http://www.wristbrands.co.uk/
http://www.yjcy.com/
http://www.zlcx.net/
http://www.zum.de/Faecher/Materialien/gejic/Einleitung.html

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

Received on Thursday, 9 August 2007 20:00:40 UTC