Re: SVGZoom

Patrick,

I think the language is confusing. What I think it should say as the
definition of the the outermost svg is:

The outermost svg element is an <svg> element that either

i) has no parent - i.e. is the root element for the document
ii) does not have an svg namespace element parent
iii) has a foreignObject element as a parent

If none of these conditions above is true then it is not the outermost
SVG element.

With invalid svg you might not get an outermost svg element e.g.
<g><svg></svg></g>.

Then the zoom event would only be dispatched once in the case of
<svg><svg></svg></svg>

Best regards

Robert.

Received on Wednesday, 7 April 2010 09:34:07 UTC