Re: [cssom] Element size/positioning information

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.

Rob
-- 
"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