W3C home > Mailing lists > Public > www-svg@w3.org > October 2008

SVG "zoomAndPan" attribute

From: <duncan.loveday@bt.com>
Date: Mon, 27 Oct 2008 12:24:33 -0000
Message-ID: <E896A29CE4435C4D81CD39F0BB2DAA95061A6731@E03MVY2-UKDY.domain1.systemhost.net>
To: <www-svg@w3.org>
Cc: <longsonr@gmail.com>

Hi,

I am seeking clarifaction and perhaps even a change to the SVG
specification in the area of the zoomAndPan attribute and what its
effect should be in a viewer implementation.

As a web developer I noticed that at least two implementations, namely
those of Opera and Adobe have interpreted the specification of
zoomAndPan="disable" to mean the UI elements that control zoom should be
disabled, e.g. context menu items greyed out, but that programmatic
zooming should still be allowed - for example if a web page designer
added buttons with onclick handlers invoking javascript to change
currentScale then this will still work.

On the other hand, the Mozilla implementation currently takes the view
that all zoom operations are disabled however they are originated (as it
happens, Mozilla don't provide UI controls for zooming so all zoom
events are created programatically). So there's an inconsistency between
leading implementors of the standard.

You can read my bug report and the response from Mozilla at
https://bugzilla.mozilla.org/show_bug.cgi?id=461751 - it includes a test
case. Mozilla seem open to making their implementation fall into line
with Opera and Adobe but they do want to make sure they remain faithful
to the specification. If the specification were clarified/changed to
state that zoomAndPan="disable" is applicable to UI events only then
might be a good way forward.

Thanks in advance,

Duncan.
Received on Monday, 27 October 2008 15:55:53 GMT

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