This extension tests whether an element matches the passed selector, or if it’s the child of a parent that does. This can be handy for testing user events, such as relatedTarget when mousing-out or dropTarget when using drag-n-drop.

Or…