summaryrefslogtreecommitdiffstats
path: root/layout/forms/crashtests/538062-1.xhtml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--layout/forms/crashtests/538062-1.xhtml20
1 files changed, 20 insertions, 0 deletions
diff --git a/layout/forms/crashtests/538062-1.xhtml b/layout/forms/crashtests/538062-1.xhtml
new file mode 100644
index 0000000000..431f7ab847
--- /dev/null
+++ b/layout/forms/crashtests/538062-1.xhtml
@@ -0,0 +1,20 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<script type="text/javascript">
+<![CDATA[
+
+function boom()
+{
+ var option = document.getElementsByTagName("option")[0];
+ var b = option.firstChild;
+ option.appendChild(document.createTextNode("\u064A"));
+ document.documentElement.offsetHeight;
+ option.removeChild(b);
+}
+
+]]>
+</script>
+</head>
+
+<body onload="boom();"><select><option>B </option></select></body>
+</html>