Closed Bug 213431 Opened 21 years ago Closed 21 years ago

HTML DOCTYPE influences GIF rendering in tables

Categories

(Core :: Layout: Tables, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 22274

People

(Reporter: ulim, Unassigned)

Details

Attachments

(3 files)

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

See the attached testok.html and testnotok.html file, which refer to a standard
blank gif of 1x1 pixel size, which I also attach as spacer.gif. The HTML files
differ only in the DOCTYPE declaration, yet the testnotok.html file renders
wrong, the image is rendered larger in height than one pixel, as you can see by
the border of the table.

This problem affects other Gecko-based browsers like Galeon as well. Have tested
with older versions of Mozilla as well, they exhibit the same problem.


Reproducible: Always

Steps to Reproduce:
1. Load attached files in Browser.
2.
3.

Actual Results:  
In the testnotok.html file the table cell is rendered larger than one pixel in
height.

Expected Results:  
Rendered the table cell height as in testok.html.
Attached file Test file.
This one works ok.
Attached file Test file.
This one does not work.
The rendering in the testnotok file is correct.  The rendering in the other file
is purposefully buggy, since the lack of a doctype puts Mozilla in quirks mode
(see http://www.mozilla.org/docs/web-developer/quirks/).

See bug 22274 for more details (in particular, the URL field of that bug).

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

Attachment

General

Creator:
Created:
Updated:
Size: