W3C home > Mailing lists > Public > public-fx@w3.org > October to December 2010

No "pointer-events" property to make svg tag trigger events.

From: Kevin Ar18 <kevinar18@hotmail.com>
Date: Wed, 15 Dec 2010 19:07:02 -0500
Message-ID: <SNT110-W44372F6206BF3DFF19EE50AA150@phx.gbl>
To: <public-fx@w3.org>, <www-svg@w3.org>

As far as I know, SVG does not have a way to force an svg container to trigger pointer-events.

I thought the "boundingBox" property would do this, but it seems that is controlled by graphical elements within the svg and not the actual dimensions of the svg tag itself.  Is this correct?

If so, are there any plans to add a way to allow the svg tag to trigger events?


There are two specific instances where this is sort of a problem:
1. Within an svg document, if I want to specify a "canvas area" that I can interact with.  I realize I can use a rect or some other graphical object to do this; however, sometimes this adds much more complexity to the javascript "app" as I have to work around the DOM in certain ways.
2. This could affect the svg-in-html/css question.
 		 	   		  
Received on Thursday, 16 December 2010 00:08:49 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 16 December 2010 00:08:51 GMT