summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/391994-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/bugs/391994-1.html')
-rw-r--r--layout/reftests/bugs/391994-1.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/layout/reftests/bugs/391994-1.html b/layout/reftests/bugs/391994-1.html
new file mode 100644
index 0000000000..b9c9cc65d8
--- /dev/null
+++ b/layout/reftests/bugs/391994-1.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<html>
+<body>
+<script>
+ var sel = document.createElement("select");
+ sel.appendChild(new Option(1));
+ var opt = new Option(2);
+ opt.setAttribute("selected", "selected");
+ sel.appendChild(opt);
+ document.body.appendChild(sel);
+</script>
+</body>
+</html>