mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-06 00:55:37 +00:00
18 lines
315 B
HTML
18 lines
315 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>Bug 1128787</title>
|
|
</head>
|
|
<body>
|
|
<input type="button"/>
|
|
<script>
|
|
window.onload = function () {
|
|
document.designMode = "on";
|
|
}
|
|
var input = document.getElementsByTagName("input")[0];
|
|
input.focus();
|
|
input.type = "text";
|
|
</script>
|
|
</body>
|
|
</html>
|