Closed Bug 200847 Opened 23 years ago Closed 23 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

Attachments

(1 obsolete file)

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: 23 years ago
Resolution: --- → DUPLICATE
Product: Core → Core Graveyard
Product: Core Graveyard → Core

A patch has been attached on this bug, which was already closed. Filing a separate bug will ensure better tracking. If this was not by mistake and further action is needed, please alert the appropriate party. (Or: if the patch doesn't change behavior -- e.g. landing a test case, or fixing a typo -- then feel free to disregard this message)

Comment on attachment 9535500 [details]
WIP: Bug 200847 - update UITour API to support AIWindow intro landing page for existing users

Revision D277817 was moved to bug 2008477. Setting attachment 9535500 [details] to obsolete.

Attachment #9535500 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: