On 11/10/2013 7:54 PM, Robert O'Callahan wrote:
On Sat, Nov 9, 2013 at 7:32 PM, Benjamin Smedberg <benja...@smedbergs.us>wrote:

Is there a chrome-only API like .elementFromPoint that will tell me which
XBL anonymous element is at a point?

I don't think so. You probably need to add another parameter to
nsIDOMWindowUtils::nodesFromRect (threaded through to
nsDocument::GetContentInThisDocument).

Turns out that I didn't need this feature: the frontend had applied visibility: hidden to the overlay I thought I was testing, and when I fixed that .elementFromPoint returns the bound element, which is all I needed.

Thanks for the tips.

--BDS

_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to