[whatwg] Non-blocking SVG Canvas?
kevinar18 at hotmail.com
Thu Aug 5 13:13:34 PDT 2010
> > Is it possible to create an SVG shape (say a hollow circle) that allows you to click through the invisible areas of the svg canvas to html objects underneath?
> Yes. See http://www.w3.org/TR/SVG/interact.html#PointerEventsProperty
Another followup. First, I should thank you for that piece of info. I was indeed not aware of that particular property.
I tried: pointer-events:painted
... and at the suggestion of a friend, I tried: pointer-events:none
Opera -- works
Opera (no pointer-event style):
* click through works fine (canvas non-blocking) -- links, and various mouse events work on the document HTML body
* same as above
Firefox Gecko/20100804 Minefield/4.0b3pre -- very buggy
* blocks everything underneath the invisible canvas
* blocks everything underneath
* this seems to work
* click through works (canvas non-blocking)
So, would the conclusing (based on the specs and the results) be that Firefox is the problem here and I need to file some bug report(s)? ... or is there any vagueness in the spec that might be the cause?
More information about the whatwg