W3C home > Mailing lists > Public > public-svg-wg@w3.org > July to September 2010

getScreenCTM & parent.Offset

From: Patrick Dengler <patd@microsoft.com>
Date: Wed, 1 Sep 2010 16:59:47 +0000
To: "public-svg-wg@w3.org" <public-svg-wg@w3.org>
Message-ID: <4A2DB3AE4504E944AF122BBFBA7FBA1F53AADB27@TK5EX14MBXC116.redmond.corp.microsoft.com>
-getScreenCTM

On getScreenCTM, the spec states:

Returns the transformation matrix from current user units ... to the parent user agent's notice of a "pixel".

But most UA's are behaving (more accurately) like what is written in 1.2:
Returns the transformation matrix from current user units ...  used by screenX/Y of the MouseEvent interface.
Should we presume the latter is correct?
-offsetTop/offsetLeft
Webkit return these properties on the SVG element, which are actually HTMLElements, so shouldn't have these properties.  I think thought that within our conversations around SVG being treated like inline, they probably should in HTML (they do in XHTML in webkit, but haven't tested this in HTML)


Your help is appreciated.
Received on Wednesday, 1 September 2010 17:00:31 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:20:12 UTC