Proposed Errata Wording for Non-Root currentTranslate/currentScale/currentRotate (ACTION-2368)

In http://www.w3.org/TR/SVG11/struct.html#InterfaceSVGSVGElement:

Change:

[[
float currentScale
    This attribute indicates the current scale factor relative to the
initial view to take into account user magnification and panning
operations, as described under Magnification and panning. DOM attributes
currentScale and currentTranslate are equivalent to the 2x3 matrix [a b
c d e f] = [currentScale 0 0 currentScale currentTranslate.x
currentTranslate.y]. If "magnification" is enabled (i.e.,
zoomAndPan="magnify"), then the effect is as if an extra transformation
were placed at the outermost level on the SVG document fragment (i.e.,
outside the outermost 'svg' element).

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

readonly SVGPoint currentTranslate
    The corresponding translation factor that takes into account user
"magnification".
]]

To:

[[
float currentScale
    This attribute indicates the current scale factor relative to the
initial view to take into account user magnification and panning
operations, as described under Magnification and panning. DOM attributes
currentScale and currentTranslate are equivalent to the 2x3 matrix [a b
c d e f] = [currentScale 0 0 currentScale currentTranslate.x
currentTranslate.y]. If "magnification" is enabled (i.e.,
zoomAndPan="magnify"), then the effect is as if an extra transformation
were placed at the outermost level on the SVG document fragment (i.e.,
outside the outermost 'svg' element).  The value of this attribute must
alway reflect the rootmost 'svg' element, even if evoked on a nested
'svg' element.

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

readonly SVGPoint currentTranslate
    The corresponding translation factor that takes into account user
"magnification".  The value of this attribute must always reflect or
affect the rootmost 'svg' element, even if evoked or changed on a nested
'svg' element.
]]

<schepers> RESOLUTION: add an entry into the SVG 1.1 errata that
currentTranslate/currentScale/currentRotate on nested SVG elements
always reflect the values on the root, in both reading and writing

Alternately, we could include a paragraph at the beginning of the
interfae description:

[[
For the currentScale and currentTranslate attributes, the value of the
attribute must always reflect or affect the rootmost 'svg' element, even
if evoked or changed on a nested 'svg' element.
]]

Regards-
-Doug Schepers
W3C Team Contact, SVG and WebApps WGs

Received on Thursday, 15 January 2009 19:24:44 UTC