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

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

From: Anne van Kesteren <annevk@opera.com>
Date: Tue, 31 Aug 2010 15:43:12 +0200
To: "Boris Zbarsky" <bzbarsky@mit.edu>
Cc: "www-style list" <www-style@w3.org>
Message-ID: <op.via1qam164w2qv@anne-van-kesterens-macbook-pro.local>
On Tue, 31 Aug 2010 15:30:17 +0200, Boris Zbarsky <bzbarsky@mit.edu> 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

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:07:49 UTC