lookupNamespaceURI(prefix) {
        let el = this;
        while (el) {
            if (utils_1.isElement(el)) {
                const map = el._nsMap;
                // console.dir(map)
                if (map) {
                    if (prefix in map) {
                        return map[prefix];
                    }
                }
            }
            el = utils_1.isAttr(el) ? el.ownerDocument : el.parentNode; // fixme: isn't this reversed ?
        }
        return null;
    }
// Introduced in DOM Level 3:
Introduced in DOM Level 3.
Introduced in DOM Level 3 .
lookupNamespaceURI(prefix) {
        let el = this;
        while (el) {
            if (utils_1.isElement(el)) {
                const map = el._nsMap;
                if (map) {
                    if (prefix in map) {
                        return map[prefix];
                    }
                }
            }
            el = utils_1.isAttr(el) ? el.ownerDocument : el.parentNode; 
        }
        return null;
    }
lookupNamespaceURI ( prefix ) { let el = this ; while ( el ) { if ( utils_1 . isElement ( el ) ) { const map = el . _nsMap ; if ( map ) { if ( prefix in map ) { return map [ prefix ] ; } } } el = utils_1 . isAttr ( el ) ? el . ownerDocument : el . parentNode ; } return null ; }
Introduced in DOM Level 3:
Introduced in DOM Level 3 :
// console.dir(map) // fixme: isn't this reversed ?