Open Bug 652226 Opened 13 years ago Updated 2 years ago

long parameter without breaks passed to javascript prompt causes a scroll bar that hides the whole text

Categories

(Toolkit :: General, defect)

All
Windows 7
defect

Tracking

()

People

(Reporter: psclil, Unassigned)

References

Details

(Whiteboard: [testday-20110422])

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0a2) Gecko/20110422 Firefox/5.0a2
Build Identifier: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0a2) Gecko/20110422 Firefox/5.0a2

tested on win7 hebrew 64bit

Reproducible: Always

Steps to Reproduce:
1. run this javascript code on any page (i used firebug)
s="aaaa;;;";for(i=0;i<10;++i)s+=s;prompt(s);
2. try reading the text on the prompt dialog
Actual Results:  
text is overlapped by a horizontal scroll bar

Expected Results:  
text is readable above the horizontal scrollbar

when using breaks between words behavior is as expected
Attached image screen shot of result (deleted) —
Whiteboard: [testday-20110422]
Version: unspecified → 5 Branch
Summary: long parameter without breaks passed to javascript prompt causes a scroll bar that hides the hole text → long parameter without breaks passed to javascript prompt causes a scroll bar that hides the whole text
Version: 5 Branch → unspecified
Blocks: 59314
Product: Firefox → Toolkit
QA Contact: general → general
Version: unspecified → 5 Branch
Confirmed on Mozilla/5.0 (Windows NT 6.1; rv:6.0a1) Gecko/20110424 Firefox/6.0a1
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows 7 → All
Hardware: x86_64 → All
Version: 5 Branch → Trunk
This works for me on Linux, auscompgeek would you please state what os you are seeing this on.
OS: All → Windows 7
Severity: minor → S4
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: