W3C home > Mailing lists > Public > www-svg@w3.org > April 2010

Re: SVGZoom

From: Klaus Förster <klaus.foerster@uibk.ac.at>
Date: Wed, 07 Apr 2010 12:05:25 +0200
Message-ID: <4BBC58E5.7090407@uibk.ac.at>
To: Robert Longson <longsonr@gmail.com>
CC: www-svg@w3.org, patd@microsoft.com

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 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:44 GMT