Re: SVGZoom

On 04/07/2010 11:33 AM, Robert Longson wrote:
> 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
What happens if the svg element is part of an HTML5 document? It seems 
none of the three conditions given above would match that situation.

>
> 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.
>
Klaus

-- 
Klaus Förster
Department of Geography
University of Innsbruck
A-6020 Innsbruck, Innrain 52

Received on Wednesday, 7 April 2010 10:06:00 UTC