summaryrefslogtreecommitdiffstats
path: root/layout/base/crashtests/488390-1.xhtml
diff options
context:
space:
mode:
Diffstat (limited to 'layout/base/crashtests/488390-1.xhtml')
-rw-r--r--layout/base/crashtests/488390-1.xhtml18
1 files changed, 18 insertions, 0 deletions
diff --git a/layout/base/crashtests/488390-1.xhtml b/layout/base/crashtests/488390-1.xhtml
new file mode 100644
index 000000000..ef7568b59
--- /dev/null
+++ b/layout/base/crashtests/488390-1.xhtml
@@ -0,0 +1,18 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<script type="text/javascript">
+
+function boom()
+{
+ document.getElementById("select").removeAttribute("multiple");
+ // Trigger a reflow
+ document.body.style.width = 0;
+ // And flush layout
+ document.body.offsetWidth;
+}
+
+</script>
+</head>
+
+<body onload="boom();"><span>&#x202E;text text text text text&#x202C;<span><dir/></span><span><tr><select id="select" multiple="multiple"/></tr></span></span></body>
+</html>