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

Re: [cssom] Element size/positioning information

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Tue, 19 Apr 2011 13:00:58 -0700
Message-ID: <BANLkTikoMHg6eL+0tcF6whjYZmvsUeNX6A@mail.gmail.com>
To: robert@ocallahan.org
Cc: Simon Fraser <smfr@me.com>, www-style list <www-style@w3.org>
On Tue, Apr 19, 2011 at 2:27 AM, Robert O'Callahan <robert@ocallahan.org> wrote:
> On Tue, Apr 19, 2011 at 6:04 AM, Tab Atkins Jr. <jackalmage@gmail.com>
> wrote:
>> So, what precisely do you see the numbers being relative to?  In the
>> viewport case,it's the top-left corner of the viewport.  For arbitrary
>> elements, though, should it always be the top-left?  Of which box?
>> What about transformed elements?
> A simple option would be the top-left of the content-box of the element's
> first CSS box.

Sounds reasonable.  I can at least start with that, and we'll see how it looks.

Received on Tuesday, 19 April 2011 20:01:45 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:45 UTC