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

Re: [cssom] Element size/positioning information

From: Robert O'Callahan <robert@ocallahan.org>
Date: Tue, 19 Apr 2011 21:27:01 +1200
Message-ID: <BANLkTinjRJD3uG1gK-ayXSsfvc8OwmtnsQ@mail.gmail.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
Cc: Simon Fraser <smfr@me.com>, www-style list <www-style@w3.org>
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.

"Now the Bereans were of more noble character than the Thessalonians, for
they received the message with great eagerness and examined the Scriptures
every day to see if what Paul said was true." [Acts 17:11]
Received on Tuesday, 19 April 2011 09:27:28 UTC

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