W3C home > Mailing lists > Public > www-svg@w3.org > July 2000

Behavior of overlapping svg elements and mouseover events - pointer-events

From: Dany Bouchard <db@dbxgeomatics.com>
Date: Sun, 9 Jul 2000 21:12:33 -0400
Message-ID: <000801bfea0b$ee752e20$5701c818@dbxgeomatics.com>
To: <www-svg@w3.org>
I would like to know the correct user agent behavior if the following occurs:

I have two SVG elements that overlap exactly (same objects), the lowest having a mouseover event.
Both elements have fills so that the lowest one is hidden under the top-one. The lowest svg element has a mouseover event. 
Should the event trigger onmouseover even if the object is not really shown on the screen ? To me It would make sense if the event would trigger.
Is there any way to ensure that the event triggers (using pointer-events property) event if the object is not the topmost item at the location (x,y) of the mouseover ? For instance, should pointer-events="all" or pointer-events="fillStroke" do it ?
The reason I am asking this is that after doing this test with the Adobe plug-in,  I discovered that the event does not trigger (because the other object on top). 
Again I may be asking for something that requires the implementation of the pointer-events property.

Thanks in advance.

Dany Bouchard
DBx Geomatics
38 de l'Orbite
Hull, Québec
Canada
J9A 3C7
Téléphone/Telephone: 819.743.3870
Télécopieur/Fax: 819.775.3264
Courrier électronique/Email: db@dbxgeomatics.com
Page Web/Web site: http://www.dbxgeomatics.com/home.asp
Vitrine technologique SVG / SVG Technology Preview: http://www.dbxgeomatics.com/svg.asp
Received on Sunday, 9 July 2000 21:13:32 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:19 GMT