From: Thomas Allen on
I recall in previous versions of Firefox,
document.documentElement.width and height would return zero (0) in an
SVG document. In browsers using WebKit,
document.documentElement.width.baseVal.value and
document.documentElement.height.baseVal.value return the viewport
dimensions accurately, but now implemented in Firefox 3.6, the same
properties each return one (1).

Does anybody know of a way to reliably determine viewport size in
Firefox, or for SVG documents in general?

Thomas
 | 
Pages: 1
Prev: FAOENTRY - canvas
Next: proyectos en comun