W3C home > Mailing lists > Public > whatwg@whatwg.org > February 2014

Re: [whatwg] hit regions: moving an element out of the shadow tree

From: Ian Hickson <ian@hixie.ch>
Date: Tue, 4 Feb 2014 17:13:24 +0000 (UTC)
To: Rik Cabanier <cabanier@gmail.com>
Message-ID: <alpine.DEB.2.00.1402041708350.30855@ps20323.dreamhostps.com>
Cc: "whatwg@whatwg.org" <whatwg@whatwg.org>
On Mon, 3 Feb 2014, Rik Cabanier wrote:
> The spec is currently silent what should happen when an element that is 
> associated with a hit region, is moved to another location in the 
> document, another document or deleted.
> This should result in removal of the hit region. Maybe this is defined 
> in the HTML spec?

It results in the region no longer having a backing control (see the 
definition of "the control represented by a region"), but why would it 
remove the region? The region might be there for other reasons, e.g. it 
might have a cursor or ID specified, or the author might be using it to 
play a sound when the user tries to click on the space where the control 
used to be drawn, to indicate to the user that the control is gone.

Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Tuesday, 4 February 2014 17:14:28 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 17:00:15 UTC