Closed Bug 70151 Opened 24 years ago Closed 24 years ago

(see 22274) Image in table renders with space underneath and outside border (standard mode)

Categories

(SeaMonkey :: General, defect)

x86
Windows NT
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 22274

People

(Reporter: tbolton, Assigned: asa)

References

()

Details

A table that rendered correctly under Communicator 4.X 
now adds a space underneath an image in a table cell 
and reloading causes the image to go outside the table
borders. When you first load the page, the table border
is fine although there is a space at the bottom of the cell.
If you hit the reload button the table border is ignored.

Here is the simple code used.

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0//EN"
"http://www.w3.org/TR/RED-html40/strict.dtd"><html>
<head><title>VERITAS Homepage</title>

</head>

<BODY TOPMARGIN='0' VLINK='1B326A' TEXT='#000000' MARGINHEIGHT='0'
BGCOLOR='#FFFFFF' LEFTMARGIN='0' MARGINWIDTH='0' LINK='#71A6D0'
ALINK='#E3303D'>

<a name="top"></a>

<table border="6" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td><img src="http://spiderman/~tbolton/393567/gnav-corner_logo.gif" border="0"
height="77"></td>
</tr>
</tbody>
</table>


<table border="6" cellspacing="0" cellpadding="0"><tr><td>Text sleifl
sdfk lei slj fliejfls</td></tr></table>


</BODY>
</HTML>

</body></html> 




To reproduce: 

Go to http://spiderman/~tbolton/393567/veritas.html and click on reload.
The space should be there based on the strict doctype.  The invalid bug this is
a duplicate of "[INLINE] space for descenders under image elements" explains in
detail why we do this.



*** This bug has been marked as a duplicate of 22274 ***
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
Verified.
Status: RESOLVED → VERIFIED
Summary: Image renders with space underneath and outside border → (see 22274) Image in table renders with space underneath and outside border (standard mode)
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.