Closed Bug 305209 Opened 19 years ago Closed 19 years ago

does not honor PRE tag

Categories

(Firefox :: General, defect)

PowerPC
macOS
defect
Not set
major

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: kgignatyev, Unassigned)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6

The following HTML looks fine in Safary, but on mozilla last two lines are
combined, ie firefox does not honor EOL within PRE in the presence of formatting


Reproducible: Always

Steps to Reproduce:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
</head>

<body>
<pre>
a
b
c
d
<FONT COLOR=0 STYLE="font-style:normal">3    </FONT></FONT><FONT
style="font-family:monospaced;" COLOR="#000000">&lt;</FONT><FONT
style="font-family:monospaced;" COLOR="#000080"><B>target</B></FONT><FONT
style="font-family:monospaced;" COLOR="#000000"> </FONT><FONT
style="font-family:monospaced;" COLOR="#0000ff"><B>name=</B></FONT><FONT
style="font-family:monospaced;"
COLOR="#008000"><B>&quot;init&quot;</B></FONT><FONT
style="font-family:monospaced;" COLOR="#000000">&gt;</FONT><FONT
style="font-family:monospaced;" COLOR="#000000"> 
<FONT COLOR=0 STYLE="font-style:normal">4    </FONT>    </FONT><FONT
style="font-family:monospaced;" COLOR="#000000">&lt;</FONT><FONT
style="font-family:monospaced;" COLOR="#000080"><B>property</B></FONT><FONT
style="font-family:monospaced;" COLOR="#000000"> </FONT><FONT
style="font-family:monospaced;" COLOR="#0000ff"><B>name=</B></FONT><FONT
style="font-family:monospaced;"
COLOR="#008000"><B>&quot;profile&quot;</B></FONT><FONT
style="font-family:monospaced;" COLOR="#000000"> </FONT><FONT
style="font-family:monospaced;" COLOR="#0000ff"><B>value=</B></FONT><FONT
style="font-family:monospaced;"
COLOR="#008000"><B>&quot;contemporary&quot;</B></FONT><FONT
style="font-family:monospaced;" COLOR="#000000">/&gt;</FONT><FONT
style="font-family:monospaced;" COLOR="#000000">
 

</pre>
</body>
</html>

Actual Results:  
digids 3 and 4 displayed on the same line

Expected Results:  
digids 3 and 4 displayed on the separate lines
WFM: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8b4)
Gecko/20050816 Firefox/1.0+
I can reproduce on the Aviary 1.0.x branch, but not on the Mozilla 1.8 branch
(which will become Firefox 1.5).

Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8b4) Gecko/20050819
Firefox/1.0+

-> WFM
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: