I know that the "window" object is not part of the SVG spec, nevertheless it is important to get cross-svgviewer compatibility.
I noticed that Batik has implemented all the methods of the window object, such as setTimeout, alert, parseXML, etc. but currently no properties.
We have implemented a lot of them yes.
For my current project I need to get access to the innerWidth and innerHeight property in order to properly display coordinates on mouse move.
Why do you need innerWidth/innerHeight. For most uses what you really want is the size of the viewport:
SVGRect r = document.getRoot().getViewport(); // Java
var r = document.root.viewport; // ECMAScript
Which _is_ part of the SVG specification.
Are there any plans to implement these missing properties?
In general we don't have a problem with implementing the ones that are really needed (i.e. ones that really fill a hole), but generally we won't implement them just because another viewer has.
Thanks for your info, 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]