Closed Bug 652256 Opened 13 years ago Closed 5 years ago

No scroll bar for prompt with long message text

Categories

(Toolkit :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: kbrosnan, Unassigned)

References

()

Details

(Whiteboard: [testday-20110422])

Attachments

(1 file)

When testing bug 652226 I saw completely different behavior on Win XP. The message of the alert does not have a way to scroll it.

Paste javascript:s="aaaa;;;";for(i=0;i<10;++i)s+=s;prompt(s); in the address bar. There should be a scroll bar to view all the text of the message.

Mozilla/5.0 (Windows NT 5.1; rv:6.0a1) Gecko/20110422 Firefox/6.0a1
Whiteboard: [testday-20110422]
The reason the scroll bar doesn't show is the widget drawing code doesn't draw the scroll bar if there is insufficient space available; use DOMi to increase the font size, and the scrollbar appears.  NT5 uses 8pt system UI fonts while NT6 uses 9pt (enough to break the threshold).  In any case, this is a Win32 widget issue, and there's already a bug for that, though I don't recall the # off the top of my head...

XP is EOL and the behavior is different on W10.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: