Closed Bug 265666 Opened 20 years ago Closed 20 years ago

Extra space under image in table cell, for anything other than "Transitional" doctype.

Categories

(Core :: Layout: Images, Video, and HTML Frames, defect)

x86
Linux
defect
Not set
major

Tracking

()

RESOLVED DUPLICATE of bug 22274

People

(Reporter: jason, Assigned: jdunn)

References

()

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040928
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040928

If I use anything other than the HTML 4.01 Transitional doctype declaration (or
no doctype declaration at all), I get extra, unwanted space beneath images in
table cells.

Reproducible: Always
Steps to Reproduce:
1. Display my sample page.
2. Edit it, removing the "Transitional" declaration.
3. Display it again, and notice the extra space.

Actual Results:  
I get extra space below the image, unwanted, annoying.

Expected Results:  
The table should be flush with the image on all sides, irrespective of the
doctype declaration.

Note that the space on the left side of the image is okay:  that's a transparent
region.  The space beneath the image, in the cell, is not part of the image.

This bug makes it impossible to control layout acceptably using anything other
than HTML 4.01 Transitional.
This is supposed to happen.
See
http://web.archive.org/web/20031203014410/devedge.netscape.com/viewsource/2002/img-table/
for why, and what to do about it.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
This is a dup, actually.
Status: RESOLVED → UNCONFIRMED
Resolution: INVALID → ---

*** This bug has been marked as a duplicate of 22274 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago20 years ago
Resolution: --- → DUPLICATE
Product: Core → Core Graveyard
Product: Core Graveyard → Core
You need to log in before you can comment on or make changes to this bug.