Re: [cssom-view] Correction and clarification for the coordinate systems of getClientRect/getBoundingClientRect

On Fri, 25 Nov 2011 01:12:06 +0100, Robert O'Callahan  
<robert@ocallahan.org> wrote:

> The spec needs to make clear that getClientRects() returns rectangles  
> that
> include the effect of transforms on ancestor elements. In particular each
> box rectangle is transformed by the ancestor transforms and then we take
> the viewport axis-aligned bounding-box of the result. Existing content
> requires this and it's more useful than not taking transforms into  
> account.
> Gecko will change to have this behavior and other browsers already do.
>
> [snip] Geometry changes
> induced by SVG should be included in the transforms accounted for in my
> previous paragraph.

Fixed.

https://dvcs.w3.org/hg/csswg/rev/d6d6ed08b91a

-- 
Simon Pieters
Opera Software

Received on Wednesday, 18 September 2013 12:56:11 UTC