summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/731726-1.html
blob: a016e62ae8ae13c80726b2830e289fd37b05849a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<!DOCTYPE HTML>
<html>
<head>
  <style type="text/css">input{border: none}</style>
</head>
<body>
  <div><input id="button" type="button"/></div>
  <input id="button2" type="button"/>
  <div id="target"/>
<script>
var button = document.getElementById("button");
button.focus();
document.getElementById("target").appendChild(button.parentNode);
document.getElementById("button2").focus();
</script>
</body>
</html>