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

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


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

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:03 UTC