Events currently allow for getting the node under the event's (x,y) position, but not the offset into that node. We need a method in the event API to get the offset into the node (e.g. if it's a text node). This is needed for middle-mouse paste and for some context menu issues.
Adding dependency info.
Can we get this for M7, since the bug that depends on it is marked M7? Tom, I can do this if you're overloaded. The implementation shouldn't be hard, I just need your OK to add the new API.
Okay, you got it. We now also reflect the event info as range endpoints. Vidur and I will look at standardizing this but until then if you were using nsDOMUIEvent to get the info you'll need to get nsDOMNSUIEvent to get these. Or if you're in JS, it just works. Anyway, new props are called event.rangeParent event.rangeOffset Names may change at some point.
I'll verify this since it's code-level -- works great, thanks, Tom!