Closed Bug 89012 Opened 23 years ago Closed 23 years ago

Additional space left on the bottom of an image if align tag not specified

Categories

(Core :: Layout, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 22274

People

(Reporter: edy.incoletti, Assigned: clayton)

Details

From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.2) Gecko/20010628
BuildID:    2001062815

The following images (2 squares for simplicity) are displayed with a space
between them.

<img src="square.gif" width="40" height="40"><br>
<img src="square.gif" width="40" height="40">

The same thing with this

<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="square.gif"></td>
</tr>
<tr>
<td><img src="square.gif"></td>
</tr>
</table>

The following is right:
<img src="square.gif" width="40" height="40" align="texttop"><br>
<img src="square.gif" width="40" height="40" align="texttop">

Reproducible: Always
Steps to Reproduce:
Use the given code and view the page
This is not a bug.  This only happens in strict mode, not in quirks more, and
it's a correct rendering per the CSS2 box model.

Marking duplicate of "[INLINE] space for descenders under image elements"

*** This bug has been marked as a duplicate of 22274 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
Verified.
Status: RESOLVED → VERIFIED
SPAM. HTML Element component deprecated, changing component to Layout. See bug
88132 for details.
Component: HTML Element → Layout
You need to log in before you can comment on or make changes to this bug.