blob: 102ebd3df331ed7ad814727aef18c9d00c698f2a [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<title>This tests that we manage input type change properly.</title>
<script>
if (window.testRunner)
testRunner.dumpAsText();
function runTest() {
var item = document.getElementById("foobar");
item.type = 'image';
item.alt="foobar";
}
</script>
<body onload="runTest();">
PASS if no assert in debug.
<input id=foobar type="text">
</body>
</html>