Re: Fw: Request to re-open issue 131 -USE CASES, USE CASES, USE CASES

On Fri, 27 Jan 2012 03:35:18 +0100, Frank Olivier  
<Frank.Olivier@microsoft.com> wrote:

> Ages ago we had some discussions around using image maps for canvas. For  
> the record, I'm against this idea, as the HTML5 specification already  
> has the (sensible) requirement of mapping canvas UI elements to elements  
> in the DOM, and wiring up event/state synchronization between a canvas  
> image map and the underlying DOM elements seems like even more work for  
> the author.

Hmm. The rationale was the other way around. If you have an element in the  
DOM, and you can name it as part of a map, then the manipulation of where  
it is on the canvas is exactly what you need to specify the coordinates  
that identify what it corresponds to on the canvas.

This took the full HTML4.01 image map specification including things like  
putting shape/coords elements on block elements, and added a path syntax  
to clearly match what you can do on canvas (so your coordinates for canvas  
can be used directly in updating the coords attribute of your map element).

It seems that we are doing functionally the same thing, and frankly I  
don't care about the syntax, but I had thought it would be easier to build  
on the image map concept that people already know.

cheers

Chaals

-- 
Charles 'chaals' McCathieNevile  Opera Software, Standards Group
     je parle français -- hablo español -- jeg kan litt norsk
http://my.opera.com/chaals       Try Opera: http://www.opera.com

Received on Friday, 27 January 2012 10:23:32 UTC