summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/731726-1.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--layout/reftests/bugs/731726-1.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/layout/reftests/bugs/731726-1.html b/layout/reftests/bugs/731726-1.html
new file mode 100644
index 0000000000..a016e62ae8
--- /dev/null
+++ b/layout/reftests/bugs/731726-1.html
@@ -0,0 +1,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>