- From: Ben Boyle <benjamins.boyle@gmail.com>
- Date: Wed, 5 Sep 2007 21:13:42 +1000
- To: "public-html@w3.org" <public-html@w3.org>
(sorry, put the wrong subject on this mail, but it will do) 3.14.14. Image maps http://dev.w3.org/html5/spec/Overview.html#image-maps I'm a little concerned by this: Mouse clicks on an image associated with a set of layered shapes per the above algorithm must be dispatched to the top-most shape covering the point that the pointing device indicated (if any), and then, must be dispatched again (with a new Event object) to the image element itself. User agents may also allow individual area elements representing hyperlinks to be selected and activated (e.g. using a keyboard); events from this are not also propagated to the image. Does this mean if I click on an area within an image map, it counts as a click on that area AND a click on the map itself (if the map includes a default area, this would be triggered?) And this behaviour is different to keyboard access? This seems counter intuitive and I'm inclined to believe I am not understanding the spec correctly (again hinting that the text could be clarified to reduce confusion). On 9/5/07, Ben Boyle <benjamins.boyle@gmail.com> wrote: > http://dev.w3.org/html5/spec/Overview.html#the-map > > Is it possible to nest (as a child or descendant) an img within it's > associated map? > > <map id="foo"> > ... > <img usemap="foo" ... /> > ... > </map> > > > Previous note on backwards compatibility regarding <area> as a child > of <map>: http://lists.w3.org/Archives/Public/public-html/2007Sep/0068.html >
Received on Wednesday, 5 September 2007 11:13:48 UTC