On 11/30/09 8:35 PM, John J Barton wrote:
So then my question is: for the event target do we want the union of the
element's getClientRect() or that plus all of its children?

The latter, with roc's correction for textnodes. Here's a simple testcase you can use to investigate the behavior:

<!DOCTYPE html>
<html>
abc<a href="http://www.example.com";
      style="position: relative; top: 200px; border: 1px solid blue">def
<span style="position: absolute; top: -100px; width: 20px; height: 20px;
             border: 1px solid purple; font-size: 50px">xyz</span>
<br>ghi</a>
</html>

-Boris
_______________________________________________
dev-tech-layout mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-layout

Reply via email to