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

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 UTC