Closed Bug 378837 Opened 17 years ago Closed 17 years ago

Alert box with too long of text does not show close button

Categories

(Firefox :: General, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 318409

People

(Reporter: abdulrahman.salem, Unassigned)

References

()

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3
Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3

While putting alerts in to see what I was actually writing with document.write I noticed that the long alerts completely eliminate the close button.  After, you are stuck and can not close the app due to the alert box open and you must force kill the process via killall firefox-bin.

Reproducible: Always

Steps to Reproduce:
1. Create a button with an alert of a really long string
2. Hit button
3.
Actual Results:  
The box comes up on the screen that you can not close.

Expected Results:  
Displayed a box that has a close button.
Alert messages with a lot of newlines (i.e. vertically "too long") result in the same problem; see attachment.
To note on this:

Other browsers implement 2 features on the alerts:

a_ the text on long strings wraps to fit within the alert window 
b_ the text in the alert box is selectable ( which helps on filing bug reports and debugging javascript )

it would be nice if the fix to this bug incorporated those two traits
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: