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

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

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Tue, 31 Aug 2010 10:47:12 -0400
Message-ID: <4C7D15F0.60501@mit.edu>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
CC: www-style list <www-style@w3.org>
On 8/31/10 10:34 AM, Tab Atkins Jr. wrote:
> No, they don't.  And so, they shouldn't.  That was my point.

OK.  Can we get Webkit and Presto changed, then?  ;)

>> -moz-element currently uses the untransformed size as the size of the
>> background image for -moz-element, and draws the transformed element into
>> that box, clipping at the edges.  Screenshot of a 500px by 500px div using
>> the 45-degree-rotated div from my other example as a repeating -moz-element
>> background.
>
> Cool.  That confirms to me that CSS's current conception of "border
> box" as being something with page-geometry is just fine to use for
> getBoundingClientRects().

I'm not sure I follow the argument here, honestly...

-Boris
Received on Tuesday, 31 August 2010 14:48:00 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:30 GMT