summaryrefslogtreecommitdiffstats
path: root/layout/generic/crashtests/547338.xul
diff options
context:
space:
mode:
Diffstat (limited to 'layout/generic/crashtests/547338.xul')
-rw-r--r--layout/generic/crashtests/547338.xul27
1 files changed, 27 insertions, 0 deletions
diff --git a/layout/generic/crashtests/547338.xul b/layout/generic/crashtests/547338.xul
new file mode 100644
index 000000000..f977049a3
--- /dev/null
+++ b/layout/generic/crashtests/547338.xul
@@ -0,0 +1,27 @@
+<?xml version="1.0"?>
+<?xml-stylesheet href="chrome://global/skin" type="text/css"?>
+
+<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
+
+<script type="text/javascript">
+<![CDATA[
+
+function boom()
+{
+ document.getElementById("list").ensureIndexIsVisible(4);
+ document.getElementById("i4").style.fontSize = "10000%";
+}
+
+window.addEventListener("load", boom, false);
+
+]]>
+</script>
+
+<listbox id="list" rows="3">
+ <listitem/>
+ <listitem/>
+ <listitem/>
+ <listitem id="i4" label="Item 4"/><listitem/>
+</listbox>
+
+</window>