'use strict';

var isObject = require('../../../../../../motion-utils@12.36.0/node_modules/motion-utils/dist/es/is-object.js');

/**
 * Checks if an element is an HTML element in a way
 * that works across iframes
 */
function isHTMLElement(element) {
    return (isObject.isObject(element) &&
        "offsetHeight" in element &&
        !("ownerSVGElement" in element));
}

exports.isHTMLElement = isHTMLElement;
