Re: [CSSOM] Interaction of getBoundingClientRect/getClientRects with transforms

On Tue, 31 Aug 2010 15:30:17 +0200, Boris Zbarsky <> wrote:
> On 8/31/10 9:13 AM, Anne van Kesteren wrote:
>> Bounding box is what we do for SVG so we should do that here too.
> So for each box generated by the element, return the coordinates of its  
> bounding box?  Think this:
>    <span id="transformed-span">Some<br>text</span>

Yeah, I think so.

>> Ideally the definition of "border box" in CSS reflects this behavior or
>> CSS gets a different kind of "border box" that reflects this behavior
>> and CSSOM View is updated to use that.
> That would need to happen in the transforms spec, I assume.

I guess.

Anne van Kesteren

Received on Tuesday, 31 August 2010 13:43:48 UTC