W3C home > Mailing lists > Public > www-style@w3.org > August 2011

[cssom-view] 6.1 getBoundingClientRect with SVG content

From: Robert Longson <longsonr@gmail.com>
Date: Thu, 4 Aug 2011 11:40:07 +0100
Message-ID: <CAOu7Uv5Bo0FXsfEsvuDe6z4nEr4TcNkS1r3GhLhoNXCdFL863g@mail.gmail.com>
To: www-style@w3.org
Hi,

The description of getBoundingClientRect for SVG content does not
match what IE and Firefox have implemented. In SVG the getBBox method
[1] excludes the stroke of an object, whereas the implementation of
getBoundingClientRect in both IE 9 and Firefox includes the stroke. I
believe there is no way to get the stroke extents in SVG if
getBoundingClientRect won't do it.

Should the specification change to match what's implemented?

Best regards

Robert

[1] http://www.w3.org/TR/SVG/types.html#InterfaceSVGLocatable
Received on Thursday, 4 August 2011 11:04:03 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:43 GMT