Closed
Bug 28920
Opened 25 years ago
Closed 25 years ago
<td><p> results in line break at top of table cell
Categories
(Core :: Layout: Tables, defect, P2)
Core
Layout: Tables
Tracking
()
VERIFIED
WORKSFORME
M16
People
(Reporter: pierre, Assigned: buster)
References
()
Details
(Keywords: testcase, Whiteboard: [TESTCASE])
Attachments
(5 files)
Tested with recent M14 builds on Mac and Windows.
- Go to http://www.aol.com/
- Look at the links under "Web Centers" at the bottom/right corner
==> Every other line is empty (or almost empty: it only contains a list marker).
I'm going to attach a testcase. The problem comes from bad HTML: the table has
TDs that contain un-terminated P tags.
Assigned to karnaze and CC'd rickg since its about bad HTML.
Reporter | ||
Comment 1•25 years ago
|
||
Comment 2•25 years ago
|
||
Closing tags on <P> are optional. The problem is that TDs are layed out on top
rather than next to each other.
Comment 3•25 years ago
|
||
Ok, I figured out why this happens: The list code is:
<tr valign=TOP>
<td> • </td>
<td><p class="sansb"> ....</td>
</tr>
The valign=top is supposed to align both cells on the same line, but the second
cell has an additional line break inserted before the text, coming from the <P>
tag. The question is: should <P> insert a line break at the start of a table
cell. I think I saw a bug on this somewhere, but couldn't find it. Update
summary.
Summary: AOL.com: links show wih empty lines → <td><p> results in line break at top of table cell
Comment 4•25 years ago
|
||
Nav4.x and IE5 render the attachment the same. Reassiginig to Kipp's bug list.
Assignee: karnaze → kipp
Comment 7•25 years ago
|
||
i have another testcase. attaching it after this, comes from bug 29230. netscape
and ie render it correctly,moz m15 nightly not
Comment 8•25 years ago
|
||
Comment 9•25 years ago
|
||
Comment 10•25 years ago
|
||
*** Bug 30010 has been marked as a duplicate of this bug. ***
Assignee | ||
Comment 11•25 years ago
|
||
kipp is very unlikely to fix these, since he's not working ont he project any
longer. so I'll take a look.
Assignee: kipp → buster
Comment 12•25 years ago
|
||
Comment 13•25 years ago
|
||
*** Bug 30574 has been marked as a duplicate of this bug. ***
Comment 14•25 years ago
|
||
bug 30967 "<td><p><img...></p></td> causes blank lines before and after image"
deals with the same issue, inserts a further blank line at bottom of td.
Similar enough for marking dupe?
Comment 15•25 years ago
|
||
*** Bug 30967 has been marked as a duplicate of this bug. ***
Assignee | ||
Comment 16•25 years ago
|
||
important compatibility issue
Comment 17•25 years ago
|
||
*** Bug 36607 has been marked as a duplicate of this bug. ***
Comment 18•25 years ago
|
||
*** Bug 33784 has been marked as a duplicate of this bug. ***
Comment 19•25 years ago
|
||
Comment 20•25 years ago
|
||
all testcases now work for me on 2000050412 win98
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → WORKSFORME
Comment 21•25 years ago
|
||
I am the reporter of Bug 33784 which was marked as a duplicate of this one. I
see that this bug has been marked as "RESOLVED WORKSFORME" and believe it should
be re-open. Take at look at http://www.narain.com/gecko/css/football.html and
then tell me something isn't wrong :-) This page has worked fine until this bug
showed up...even NN4 renders the page correctly.
You need to log in
before you can comment on or make changes to this bug.
Description
•