Boris Zbarsky wrote:
...
This isn't a box, in general. It's just some region; quite possibly
non-rectangular and not really describably as a finite union of
rectangles where SVG is involved.... If you ignore svg, though:
For a given element, is the event targeting area according to ROC:
collect up all the getClientRects of the element
and all its descendants, include text node descendants.
Text nodes don't support getClientRects,
but you can create a Range covering the text node
and call getClientRects on that.
That's correct.
Boris said "union of all client rects", so I guess that is what "collect
up" means?
Yes.
This feature will wait for FF 3.7 (Firebug 1.6), because as Steve
Roussey pointed out to me, Range.getClientRects() is not in FF 3.6.
http://groups.google.com/group/mozilla.dev.platform/browse_thread/thread/7ed4d752a19c3cfa
jjb
_______________________________________________
dev-tech-layout mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-layout