W3C home > Mailing lists > Public > www-svg@w3.org > September 2005

Re: [SVG] assigning to currentScale

From: Jim Ley <jim@jibbering.com>
Date: Mon, 19 Sep 2005 19:02:44 +0100
To: www-svg@w3.org
Message-ID: <dgmuh3$gr1$1@sea.gmane.org>

"Jonathan Watt" <jonathan.watt@strath.ac.uk> wrote in message 
> I hope this can all be sorted out in SVGMobile12, but note we'll also need 
> an errata item for SVG 1.1 before the mess that is Firefox's 
> scrolling/zooming and panning can be sorted out.

I don't see what is actually broken in the spec, the spec doesn't place a 
limit, placing a limit is something you're going to have to do for 
implementation reasons, but that's not an actual spec problem, simply one in 
your implementation.

The SVG OM is pretty clear that setting the currentTranslate etc. properties 
does not raise an error, therefore you shouldn't raise an error even if you 
clamp the values, the only script errors raised when working with DOM should 
be those in the specification, we cannot have scripters having to catch an 
error when setting things which the specification doesn't say raises an 
error, it leads to utterly unreadable scripts.

Option 1 of your original 3 options doesn't violate the specification (I see 
nowhere that specifically states infinite zoom/pan, although it may make not 
a high performance dynamic SVG UA) and is therefore completely reasonable. 
Introducing new behaviour via errata may be popular in some Working Groups, 
but I really hope the SVG WG doesn't go down that road, it's a very bad 

Received on Monday, 19 September 2005 18:07:28 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:47:04 UTC