W3C home > Mailing lists > Public > www-style@w3.org > October 2009

Re: [CSSOM] offsetWidth, offsetLeft issues

From: Ojan Vafai <ojan@chromium.org>
Date: Fri, 16 Oct 2009 17:10:09 -0700
Message-ID: <78dc8440910161710r2dc626dds248b94e18379e7f8@mail.gmail.com>
To: robert@ocallahan.org
Cc: Erik Arvidsson <arv@chromium.org>, www-style@w3.org
On Wed, Oct 14, 2009 at 1:17 PM, Robert O'Callahan <robert@ocallahan.org>wrote:

> On Thu, Oct 15, 2009 at 8:50 AM, Erik Arvidsson <arv@chromium.org> wrote:
>
>> The width and height of getBoundingClientRect is always the same as
>
>  offsetWidth and offsetHeight.
>>
>
> I don't really care about this one. offsetWidth and offsetHeight are really
> bad legacy features.
>

No argument there. But we should at least make them as sane as possible, no?
In the case of tables with captions, it makes more sense to include the
caption. Given that IE already does this, it seems likely to maximize
compatibility, or at least not make it worse.

Ojan
Received on Saturday, 17 October 2009 00:11:02 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:13:40 UTC