Closed Bug 254299 Opened 21 years ago Closed 21 years ago

javascript alert pop up needs vertical scrollbar if alert text is too large for screen

Categories

(Toolkit Graveyard :: Error Console, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 115997

People

(Reporter: fasteddie, Assigned: bugs)

Details

User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7) Gecko/20040803 Firefox/0.9.3 Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7) Gecko/20040803 Firefox/0.9.3 If a javascript alert has so many lines that the text extends below the bottom of the screen, a scroll bar needs to be introduced so the bottom text can be seen and read. There is no way to read the bottom text currently. The "OK" button is also below the bottom of the screen and cannot be clicked on with the mouse. Reproducible: Always Steps to Reproduce: 1. Create an HTML page with this text: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <script type="text/javascript"> alert ("a\nb\nc\nd\ne\nf\ng\nh\ni\nj\nk\nl\nm\nn\no\np\nq\nr\ns\nt\nu\nv\nw\nx\ny\nz\na\nb\nc\nd\ne\nf\ng\nh\ni\nj\nk\nl\nm\nn\no\np\nq\nr\ns\nt\nu\nv\nw\nx\ny\nz\na\nb\nc\nd\ne\nf\ng\nh\ni\nj\nk\nl\nm\nn\no\np\nq\nr\ns\nt\nu\nv\nw\nx\ny\nz\na\nb\nc\nd\ne\nf\ng\nh\ni\nj\nk\nl\nm\nn\no\np\nq\nr\ns\nt\nu\nv\nw\nx\ny\nz\n"); </script> <body> </body> </html> Actual Results: Alert text goes below bottom of screen, can't access the lower portions of the alert text. Expected Results: A scroll bar should have been introduced in the alert window, allowing the user to read all of the javascript alert text.
OS: MacOS X → All
Hardware: Macintosh → All
just had this problem and found this bug. Since this is still unconfirmed, please confirm and fix.
Bug 115997 is currently marked a Seamonkey bug, but I'm fairly sure this is a core issue. If someone knows the right Core component, please change that bug accordingly. *** This bug has been marked as a duplicate of 115997 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
Product: Firefox → Toolkit
Product: Toolkit → Toolkit Graveyard
You need to log in before you can comment on or make changes to this bug.