Closed Bug 615253 Opened 14 years ago Closed 14 years ago

JavaScript confirmation dialog doesn't expand height and shows scrollbars

Categories

(Toolkit :: General, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 613749

People

(Reporter: daniel, Unassigned)

References

()

Details

(Keywords: regression)

Attachments

(2 files)

User-Agent:       Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0b8pre) Gecko/20101129 Firefox/4.0b8pre
Build Identifier: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0b8pre) Gecko/20101129 Firefox/4.0b8pre

The new JavaScript confirmation dialog shows scrollbars if the content has more content that fits in the given three lines.

The dialog should expand as much as possible.

Reproducible: Always

Steps to Reproduce:
Put the following in the addressbar and hit enter:
javascript:confirm("Do you really want Scrollbars in a confirmation dialog?\n\nPress 'OK' if you want.\nPress 'Cancel' if you don't")
BTW: The text in the confirmation dialog is no longer selectable although the cursor in the area between the icon and the text shows the text cursor.
Product: Firefox → Toolkit
QA Contact: general → general
Version: unspecified → Trunk
this issue happens on all platform.
Attached file testcase
Happens on all platforms and seems to be a regression from bug 59314.
Blocks: 59314
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: regression
OS: Windows 7 → All
Hardware: x86 → All
How different is it from bug 613749?
Which should be a dupe. Thanks.
No longer blocks: 59314
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: