The following notes were taken from the comment above the function in the Prototype code.
Event.findElement finds the first node with the given tagName, starting from the node the event was triggered on; traverses the DOM upwards.
Event.findElement(event, tagName);