Closed
Bug 184055
Opened 23 years ago
Closed 18 years ago
text in javascript alert window not completely visible
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 115997
People
(Reporter: AndreasWuest, Unassigned)
Details
Attachments
(1 file)
355 bytes,
text/html
|
Details |
User-Agent: Mozilla/5.0 (compatible; Konqueror/3.0.0; Linux)
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021130
Hi,
the text in the javascript alert window is not completely visible if the
string to display does not contains spaces, etc, that can be used to
break the lines. the following examples shows the problem. Note that
the that you also get a exception if the mail client is not installed,
due to the line :
window.location.href = mail;
The Problem with the mail client is a different bug, i guess.
<HTML>
<HEAD>
<SCRIPT LANGUAGE="javascript">
<!--
function x ()
{
var mail =
"mailto:AndreasWuest@gmx.de?subject=this%20is%20the%20subject&body=bla%20some%20more%20bla%0A%0Dsome%20more%20text";
alert (mail);
window.location.href = mail;
}
//-->
</SCRIPT>
</HEAD>
<BODY>
<A HREF="javascript:x();"> click me </A>
</BODY>
</HTML>
Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1•23 years ago
|
||
Comment 2•23 years ago
|
||
--> DOM Level 0
Confirming bug with Mozilla trunk binary 20021204xx on WinNT.
I think this is a duplicate of another report, but I couldn't find it -
Assignee: rogerl → jst
Status: UNCONFIRMED → NEW
Component: JavaScript Engine → DOM Level 0
Ever confirmed: true
QA Contact: pschwartau → desale
Updated•18 years ago
|
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•