MouseEvent.path equivalent in Firefox & Safari
I'm using Polymer 1.0 and when there is a click on a button in Chrome a MouseEvent is generated. This MouseEvent object has a path property which is an ordered array of parent elements to the clicked button. In Firefox & Safari, however, a click is generated which does not have a path property. Is there an equivalent property of the click object which gives me the same information? It's not available, but if you really would like to have this property, then you could extend the native prototype of the Event object like so: if (!("path" in Event.prototype)) Object.defineProperty(Event.prototype