Closed Bug 133198 Opened 22 years ago Closed 22 years ago

dhs.org - Adds extra unwanted spacing in table

Categories

(Tech Evangelism Graveyard :: English US, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 22274

People

(Reporter: mpeters, Assigned: karnaze)

References

()

Details

From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020311
BuildID:    2002031005

Page experiencing bug:

http://macaddict4life.dhs.org/

Description-

Mozilla is not respecting border=0 cellpadding=0 cellspacing=0
in a html table, adding spacing under gifs thus increasing the
height of the table

As a result, there is a small gap in the box containing the content.
Mozilla builds tested with:

Mozilla 0.9.9 on x86 Linux (RH7 RPM - release- 2002031115)
Mozilla 0.9.9 on OS X (2002031005)
Mozilla 0.9.5 - 0.9.8 on OS X (release builds)

Mozilla Builds tested where it _does_ work properly:

Mozilla 0.9.2 on x86 Linux (RH 7 rpm) (? on build nu)
Mozilla 0.9.4 on OS X ( release- 2001091313 )


Other browsers that _properly_ display the W3C compliant page:
IE 5 for OS X
IE 5 for OS 8/9
Netscape 4.7 for OS 7/8/9
Konquorer (KDE 2.2) on x86 Linux
iCab on OS X
iCab on 7/8/9
Omniweb on OS X

Reproducible: Always
Steps to Reproduce:
1.look at the page http://macaddict4life.dhs.org/
2.look at it again in 0.9.4 (2001091313) to see how Mozilla should display it.
3.look at it in any other browser to see it displayed properly

Actual Results:  The web page content should be contained within the box.
The box should not be split at the top and the bottom.

Expected Results:  The box around the content should be solid

views correctly in Mozilla 0.9.4 and earlier.
views incorrectly in 0.9.5+ (both OS X and Linux)

views correctly in NS4, Omniweb, IE 5, iCab, Konquorer
Page is W3C html compliant

border="0" cellspacing="0" cellpadding="0" were used.
->Tables
Assignee: attinasi → karnaze
Component: Layout → HTMLTables
QA Contact: petersen → amar
The DOCTYPE triggers strict layout mode. This is a duplicate of bug 22274.
Component: HTMLTables → US General
Product: Browser → Tech Evangelism
Version: other → unspecified
Looks OK to me
2002032503/WinXP
Summary: Adds extra unwanted spacing in table → dhs.org - Adds extra unwanted spacing in table
It looks OK now because I put in the following piece of php-

if (ereg("Gecko", $HTTP_USER_AGENT)) {
	echo "<HTML>\n";
	echo "<!-- Gecko based Mozilla has a bug if you define DOCTYPE -->\n";
} else {
	echo "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\"\n";
	echo "          \"http://www.w3c.org/TR/1999/REC-html401-19991223/loose.dtd\">\n";
	echo "<html>\n";

The problem only occurs when the DOCTYPE is declared.
>   Gecko based Mozilla has a bug if you define DOCTYPE 

Please don't spread lies like that. Mozilla's layout of your page is *correct*
according to CSS2, read bug 22274 for details.

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