Closed Bug 200847 Opened 22 years ago Closed 22 years ago

image has incorrect bottom margin when doctype declared and inside a table

Categories

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

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 22274

People

(Reporter: tommy, Assigned: jdunn)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4a) Gecko/20030401 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4a) Gecko/20030401 In an HTML doc with a DOCTYPE declaration and an image displayed inside a table, the bottom of the image is separated from the bottom of the table. HTML docs without DOCTYPE declarations do not suffer from this problem. It has nothing to do with whitespace in the table's html according to my testing. I have verified that the problematic behavior exists when using doctype declarations for either HTML 4.01 or XHTML 1.1. Reproducible: Always Steps to Reproduce: 1. Create an HTML doc that declares a DOCTYPE 2. Place an image in a table 3. Turn the image border on 4. Turn the table border on 5. View the page and you will see there is extra space between the bottom of the image and the table border. Actual Results: There was extra space between the image bottom and the table border Expected Results: There should have been no extra space Internet Explorer 6 handles this properly.
See http://devedge.netscape.com/viewsource/2002/img-table/ *** This bug has been marked as a duplicate of 22274 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 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.