summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/289384-ref.xhtml
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/bugs/289384-ref.xhtml')
-rw-r--r--layout/reftests/bugs/289384-ref.xhtml18
1 files changed, 18 insertions, 0 deletions
diff --git a/layout/reftests/bugs/289384-ref.xhtml b/layout/reftests/bugs/289384-ref.xhtml
new file mode 100644
index 0000000000..5c5b8252ac
--- /dev/null
+++ b/layout/reftests/bugs/289384-ref.xhtml
@@ -0,0 +1,18 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<script type="text/javascript">
+<![CDATA[
+
+function boom()
+{
+ document.body.setAttribute("contenteditable", "true");
+ document.execCommand("selectAll", false, null);
+}
+
+]]>
+</script>
+</head>
+
+<body onload="boom();"><textarea></textarea></body>
+
+</html>