Jochen Theodorou wrote:
one additional comment...
why do I get an invalid boundig box instead of null? If I get a null BoundingBox or a Box of size 0 may be I perceive the problem.
This is tricky, on the one hand it might be nice to get a 'null' BBox, however in the case of display:none the BBox could go from valid to invalid (setting display to none) then back to valid (setting display to inline). The return of '0' could be misleading since zero is a valid width/height. I suppose we could return -1 for w/h.
At last an additional comment in the getBBox-Method would be nice. Or is there such a comment and I was not able to see it?
Well the documentation for these methods comes from the W3C. They are part of the standard - so the Standard should really cover these cases.
In feature code I will check the context first
You might be best wrapping the code in a try/catch block.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]