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

SVGT: clarification on currentScale and currentTranslate

From: Jeff Rafter <lists@jeffrafter.com>
Date: Tue, 22 Feb 2005 09:34:33 -0800
Message-ID: <421B6D28.6080904@jeffrafter.com>
To: www-svg@w3.org

Dear Scalable Vector Graphics Working Group,

   In http://www.w3.org/TR/SVG11/struct.html#InterfaceSVGSVGElement the 
currentScale property is defined in the IDL as:

            attribute float currentScale;
                        // raises DOMException on setting

But in the description below it reads:

	NO_MODIFICATION_ALLOWED_ERR: Raised on an attempt to change
	the value of a readonly attribute.

The attribute is not readonly. Furthermore there is no situation that is 
described where it should be readonly. In the case of inner SVG 
elements, the property (as defined) is accessible but still refers to 
the outermost scale. currentTranslate is defined as a readonly object, 
but does this mean that it's internal X and Y should raise DOMExceptions 
on setting (to match currentScale)?

Please clarify the wording about when or if the currentScale property 
should be treated as a readonly attribute and when it should raise and 
exception.

regards.
--
Jeff Rafter
Received on Tuesday, 22 February 2005 17:35:03 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 23:39:55 UTC