UNPKG

browser-x

Version:

A partial implementation of the W3C DOM API on top of an HTML5 parser and serializer.

12 lines (8 loc) 356 B
'use strict'; var HTMLElement = require('../html-element'); function HTMLUnknownElement(document, name, namespaceURI) { HTMLElement.call(this, document, name, namespaceURI); } HTMLUnknownElement.prototype = Object.create(HTMLElement.prototype, {}); HTMLUnknownElement.prototype.constructor = HTMLUnknownElement; module.exports = HTMLUnknownElement;