Closed Bug 110390 Opened 23 years ago Closed 20 years ago

extra newline appears in table cell when cell width is too small

Categories

(Core :: Layout: Tables, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

VERIFIED WORKSFORME
Future

People

(Reporter: chorshan, Unassigned)

Details

(Keywords: testcase)

Attachments

(1 file)

From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.5+)
Gecko/20011114
BuildID:    2001111403

When a table cell width is too small to hold the content, "\n<br>" in your html
may give two newlines in the browser. BTW, this problem doesn't occur in Linux
version of build ID 2001090111 that I have.

Reproducible: Always
Steps to Reproduce:
1. Save the HTML code below
2. Open up in the browser

Actual Results:  The two cells give different content.

Expected Results:  The two cells must give the same content as below two lines:
AAAAAAAAAA
BBB

HTML to show this bug:
<table border=1 width=40>
<tr valign=top><td>
AAAAAAAAAA
<br>BBB
</td></tr>
<tr><td>
AAAAAAAAAA<br>
BBB
</td></tr>
</table>
Use this to test the bug in your browser
Confirmed: Works as the reporter expects in IE 5.5 and Konqueror 2.X.
Contains an extra CR after "AAAAAAAAAA" in the first cell in build 2001-11-15-03.
Note: NN 4.79 and Opera 5 lay this out exactly like Mozilla, so it might be
desired  for some reason.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: testcase
Target Milestone: --- → Future
.
Assignee: attinasi → table
Component: Layout → Layout: Tables
QA Contact: petersen → amar
the testcase is rendered identical on WinIE6 and mozilla 2004080708
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → WORKSFORME
V'ing, not because Mozilla and IE do the same rendering, but because the problem
no longer appears to exist (Win XP SP2, Mozilla 1.8a3).
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: