>
> >>element, Bounding Box calculation with display:none
> >> probably workaround: printNode, event on object background
> >>in Batik 1.6 / Squiggle
> >> * window.innerWidth and innerHeight don't work (you can use
> =.getScreenCTM()= for most cases)
>
> use root.width.baseVal.value and root.height.baseVal.value in Batik and
> FireFox, not tested in Opera.
one can use the viewPort width instead:
if (window.innerWidth) {
this.innerWidth = window.innerWidth;
this.innerHeight = window.innerHeight;
}
else {
var viewPort = document.documentElement.viewport;
this.innerWidth = viewPort.width;
this.innerHeight = viewPort.height;
}
> >>force units
> >>Use the "px" unit where this is assumed, for SVG 1.1 meaning on the
> attributes: stroke-width, stroke-dashoffset, font, font-size,
> baseline-shift, kerning, letter-spacing, word-spacing
>
> im not sure what you mean here, but i prefer to use userCoordinates (the
> coordinate system established by viewBox) , because on some
> attribute-values you cant use "px" (i.e.: d attribute), and using
> userCoordinates just keeps all values in the same coordinate System.
Erik from Opera told me that the "px" units are only needed for CSS class
definitions and
style attributes. They aren't needed in presentation attributes. But using
style="..." is ugly
anyway ...
Andreas
-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my
membership"
----
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/