Closed Bug 34688 Opened 24 years ago Closed 24 years ago

Height attribute on images not respected inside tables

Categories

(Core :: XML, defect, P3)

x86
Windows 98
defect

Tracking

()

VERIFIED DUPLICATE of bug 40190

People

(Reporter: raman, Assigned: rickg)

References

()

Details

Attachments

(1 file)

From Bugzilla Helper:
User-Agent: Mozilla/4.6 [en] (Win98; U)
BuildID:    2000033112

From: "Steve Yost" <syost@offroadcapital.com>
To: "Raman Tenneti" <raman@offroadcapital.com>
Subject: Re: try netscape 6 out (just for kicks)
Date: Wed, 5 Apr 2000 15:00:17 -0400

I've downloaded it and tried it.  OffRoad looks OK, but my TIO pages look
terrible. That's because I recently made them xhtml compliant.  I see that
if I remove the required xhtml doctype declaration from the top of my pages,
it looks fine.

<!DOCTYPE html
     PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "DTD/xhtml1-strict.dtd">

See for example
http://www.takeitoffline.com:8080/3/H/mVRESmQYw3InihApZLpa.html (bad) vs.
http://www.takeitoffline.com:8080/3/H/mVRESmQYw3InihApZLpaNoH.html (good).

Netscape 6's reason for attention is supposed to be that it's the most
standards-compliant. Can you let someone at Netscape know about this?  I
tried their feedback link at
http://home.netscape.com/browsers/6/feedback/index.html, but it's not
responding. Probably overloaded.

Thanks,
Steve


Reproducible: Always
Steps to Reproduce:
1.There are two URL's in the above email from a friend. He says it looks 
terrible.
2.
3.
raman@netscape.net - the second of those URLs is now a 404 - and the first one 
looks fine.  Are you still seeing this problem with recent builds of Mozilla?

Gerv
OK, something very odd's going on here. I've reduced it to a testcase, which 
displays "incorrectly" (through my reading of the HTML) in both Navigator 4.73, 
IE 4.0 and Mozilla 20000518. Attached as a .zip.

This bug probably doesn't live in XML, but it'll need a developer to send it to 
the right place.

Gerv
Status: UNCONFIRMED → NEW
Ever confirmed: true
Attached file test case zip
I've moved the second test case (the good one) to
http://www.takeitoffline.com:8080/topicNoDecl.html
This displays correctly, because it has no doctype declaration.
I've moved the first one (the bad one) too, to
http://www.takeitoffline.com:8080/topicWithDecl.html
Note the thickness of the gray line underneath "Take It Offline" in 
the "Who/When Posted" column on the left, and white space under the "Post new 
message" button.

I still see the problem using the latest 5/18/00 build.
I noted in earlier email that the problem appeared/disappeared depending on the 
doctype declaration, not just its presence/absence. I think if HTML 4.0 strict 
or XHTML are declared, the problem appears, but if it uses the HTML 4.0 "loose" 
(don't remember the exact syntax) declaration, the problem goes away.
Blocks: 39195
Let us use this bug to track the problem identified by Gervase in his attached 
reduced test case.  Specifically, the height attribute of the image tag does not 
constrain the height of the 1 pixel gif inside the table when the strict XHTML 
doctype declaration is present.  When I turn on ENABLE_STRICT in the 
environment, the test case works fine.  But, the layout of 
http://www.takeitoffline.com:8080/topicWithDecl.html gets completely hosed.

I'm updating the summary and re-assigning the bug to rickg.  Rick, you can mark 
this bug fixed when you enable the strict DTD code.  I have opened bug 
40355 against you to track the layout problems on 
http://www.takeitoffline.com:8080/topicWithDecl.html that only occur when 
ENABLE_STRICT is turned on.
Assignee: nisheeth → rickg
Summary: doctype declaration needs to be removed for the aove page to display properly → Height attribute on images not respected inside tables
Status: NEW → ASSIGNED
Understood.

*** This bug has been marked as a duplicate of 40190 ***
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
Adding keyword 'verifyme' to bug.
Keywords: verifyme
QA Contact: chrisd → petersen
verifying dupe.
Status: RESOLVED → VERIFIED
Keywords: verifyme
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: