Andreas Neumann wrote:
refering to the example
http://www.carto.net/papers/svg/us_population/index.svgz
I use nested SVG's. The outer svg-element represents a screen-oriented
coordinate system, while the inner, nested svg-element has a "real-world"
coordinate system representing geographic coordinates.
After I zoom in (using my own javascript-function, changing the viewBox values
of the inner, nested svg-element; use the magnifyer glass with the plus-symbol
for that) it appears, that the mouse-events (mouse-over, mouse-move, etc.)
aren't correctly clipped to the modified viewBox, but are active in my
legend/info area, or the margins around, as well.
The graphics is correctly clipped to the new viewBox, but not the
corresponding events. Is this a bug?
To be honest I don't think the SVG specification is very clear on
this point. Nothing relating to pointer events references clipping
and the clipping section doesn't reference pointer events. Hence,
I am inclined to believe that Batik's handling is correct - clipping
has no effect on the delivery of pointer events (there are already
many opportunities for 'hidden' objects to receive pointer-events.
If anyone can come up with anything that seems to provide
direction on this please let me know.
I'll try and write this up as an issue for the SVG WG, in the
mean time I'll probably leave things as they are. The "good" news
is I think it will be fairly simple to bring Batik into conformance
what ever the resolution is.
Thanks for clarification,
Andreas
--
The only thing that stands between a man and what he wants from
life is often merely the will to try it and the faith to believe
that it is possible ...
-- M. DeVos
----------------------------------------------
Andreas Neumann - Department of Cartography
Swiss Federal Institute of Technology (ETH)
ETH Hoenggerberg, CH-8093 Zurich, Switzerland
Phone: ++41-1-633 3031, Fax: ++41-1-633 1153
e-mail: [EMAIL PROTECTED]
www: http://www.karto.ethz.ch/neumann/
SVG.Open/Carto.net: http://www.svgopen.org/
---------------------------------------------------------------------
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]