Test whether the given element is an instance of a given HTMLElement class in a cross-window way.
The element to test.
The tag name or HTMLElement subclass to test.
Test whether the given element is an instance of a given HTMLElement class in a cross-window way.