- From: Anne van Kesteren <annevk@opera.com>
- Date: Thu, 04 Aug 2011 13:11:16 +0200
- To: www-style@w3.org, "Robert Longson" <longsonr@gmail.com>
On Thu, 04 Aug 2011 12:40:07 +0200, Robert Longson <longsonr@gmail.com> wrote: > 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? The specification does not state to use the getBBox method. I am not sure what it should say exactly there though. The current text is based on a suggestion from roc if I remember correctly. > [1] http://www.w3.org/TR/SVG/types.html#InterfaceSVGLocatable -- Anne van Kesteren http://annevankesteren.nl/
Received on Thursday, 4 August 2011 11:11:46 UTC