W3C home > Mailing lists > Public > www-style@w3.org > April 2008

Re: [cssom-view] small update

From: Robert O'Callahan <robert@ocallahan.org>
Date: Tue, 15 Apr 2008 21:02:29 +1200
Message-ID: <11e306600804150202m268a1092s6c799a35f989c547@mail.gmail.com>
To: "Mike Wilson" <mikewse@hotmail.com>
Cc: "Boris Zbarsky" <bzbarsky@mit.edu>, Www-style <www-style@w3.org>
On Tue, Apr 15, 2008 at 8:07 PM, Mike Wilson <mikewse@hotmail.com> wrote:

> To me it looks like CSSOM will add yet another code path to web
> scripts.
>

Yes, hopefully it will --- a code path that uses getBoundingClientRect.
http://ejohn.org/blog/getboundingclientrect-is-awesome/

Assuming that any browser that bothers to align itself with the CSSOM spec
for offset* also implements getBoundingClientRect properly, when people
update their scripts for CSSOM they should just be using
getBoundingClientRect.

Rob
-- 
"He was pierced for our transgressions, he was crushed for our iniquities;
the punishment that brought us peace was upon him, and by his wounds we are
healed. We all, like sheep, have gone astray, each of us has turned to his
own way; and the LORD has laid on him the iniquity of us all." [Isaiah
53:5-6]
Received on Tuesday, 15 April 2008 09:03:07 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:55:05 GMT