Hi Stephen,

Stephen Drake <[EMAIL PROTECTED]> wrote on 10/23/2006 08:09:05 PM:

> What I am hoping will be a practical solution follows from the example -
> create a glasspane element over each element that requires pointer event
> clipping.  The glasspane and clipping area are defined with the same 
shape. 
> The glasspane is used to handle pointer events, and the target has
> pointer-events="none" set to allow events to fall through.  Since each
> glasspane is specific to one target, event retargeting shouldn't be too
> complicated.  This should work in all UAs (tested Batik and Firefox 
1.5).

   Yes, this will work fine. 

   In Andreas' case I suspect that the maps that were clipped had lots of 
potential targets (think points of interest) and those maps are 
dynamically 
repositioned (so the POI that should be sensitive move in and out of the 
visible region).  So in his case I don't think this approach would be 
practical by it's self.

> e.g.
>   <rect id="inner" x="-25%" y="-25%" width="150%" height="150%" 
fill="grey"
> pointer-events="none"/>
> 
> Any comments would be greatly appreciated since I haven't tried to 
implement
> this to any significant extent yet.
> 
> Regards,
> 
> Steve Drake
> 
> -- 
> View this message in context: 
http://www.nabble.com/event-sensitivity-in-
> nested-svgs-when-content-is-bigger-than-viewBox-tf2424370.html#a6964837
> Sent from the Batik - Users mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to