We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 242362f commit cb8eda8Copy full SHA for cb8eda8
test/test-dom-element.js
@@ -207,4 +207,13 @@ function testDomElement(document) {
207
cleanup()
208
assert.end()
209
})
210
+
211
+ test("can serialize textarea correctly", function(assert) {
212
+ var input = document.createElement("textarea")
213
+ input.setAttribute("name", "comment")
214
+ input.innerHTML = "user input here"
215
+ assert.equal(input.toString(), '<textarea name="comment">user input here</textarea>')
216
+ cleanup()
217
+ assert.end()
218
+ })
219
}
0 commit comments