Home E-mail Subscribe

WebKit adds getBoundingClientRect

If you don’t know what the getBoundingClientRect method is, you can read about it at the Mozilla Developer Center site or at the Microsoft Developer Network site — or better yet, read what John Resig has to say about it.

WebKit was the last remaining major browser engine that lacked support for getBoundingClientRect (and for the related getClientRects method) — until yesterday, when Sam Weinig landed support for it in WebKit too.

In my book at least, adding another useful supported-across-all-major-browsers feature to the open Web platform is a pretty cool thing. And as far as why this feature in particular is a worthwhile addition, well, you might want to go back on read John Resig’s write-up about it; title: getBoundingClientRect is Awesome.

One Response to “WebKit adds getBoundingClientRect”

  1. element.getBoundingClientRect() tambien en WebKit : Blogografia Says:

    […] Michael Smith, nos cuenta que la última versión de WebKit soportará esta propiedad, una propiedad que Internet Explorer 5 fué el primero en incorporar y que hace casi un año  John Resig explicó como lo habían integrado en Firefox 3. […]