min-document
Advanced tools
Comparing version 2.8.0 to 2.8.1
@@ -25,2 +25,6 @@ var dispatchEvent = require("./event/dispatch-event.js") | ||
this.namespaceURI = ns | ||
if (this.tagName === 'INPUT') { | ||
this.type = 'text' | ||
} | ||
} | ||
@@ -27,0 +31,0 @@ |
{ | ||
"name": "min-document", | ||
"version": "2.8.0", | ||
"version": "2.8.1", | ||
"description": "A minimal DOM implementation", | ||
@@ -5,0 +5,0 @@ "keywords": [], |
@@ -258,2 +258,7 @@ var test = require("tape") | ||
test("input has type=text by default", function (assert) { | ||
assert.equal(document.createElement("input").type, "text"); | ||
assert.end() | ||
}) | ||
function elemString(element) { | ||
@@ -260,0 +265,0 @@ var html = String(element) || "[]" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
29246
608