Re: Canvas 1.0

On 2/24/2014 7:02 PM, Rik Cabanier wrote:
> On Mon, Feb 24, 2014 at 6:20 PM, Mark Sadecki <mark@w3.org 
> <mailto:mark@w3.org>> wrote:
>
>     On 2/24/14, 6:28 PM, Richard Schwerdtfeger wrote:
>     > Hi Dominic,
>     >
>     > For version of the canvas 1.0 spec. we would like to have the
>     following in the specification.
>     >
>     > 1. addHitRegion but only with an optional id and a fallback
>     element to associate the element (this will set the location).  
>     e.g. addHitRegion(id,control) where control would be any fallback
>     element at this time.
>     > 2. drawFocusIfNeeded but remove the step that sets the location.
>     Just to be clear, we would need also need removeHitRegion(id)
>
>
> I assume you meant that we also need to add removeHitRegion :-)


On alternatives: what was the implementation decision for the usual: 
ctx.canvas.width += 0; and/or element.parentNode.removeChild(element) 
style of resetting things?

-Charles

Received on Tuesday, 25 February 2014 05:19:57 UTC