summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/346774-1c.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/bugs/346774-1c.html')
-rw-r--r--layout/reftests/bugs/346774-1c.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/layout/reftests/bugs/346774-1c.html b/layout/reftests/bugs/346774-1c.html
new file mode 100644
index 000000000..33f2e17d2
--- /dev/null
+++ b/layout/reftests/bugs/346774-1c.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<html>
+<body>
+<form name="theForm">
+ <select name="theSelect" style="width: 30em">
+ <option>xxxxxxxxxx</option>
+ </select>
+</form>
+<script>
+ // Flush reflow
+ document.body.offsetWidth;
+ document.theForm.theSelect.style.width='auto';
+</script>
+</body>
+</html>
+
+