Closed
Bug 253271
Opened 22 years ago
Closed 22 years ago
specified table row height is not respected
Categories
(Firefox :: General, defect)
Tracking
()
People
(Reporter: dan, Assigned: bugzilla)
References
(
URL
)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040626 Firefox/0.9.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040626 Firefox/0.9.1
Following html code displays table row always heigher than 10px as specified
with height attribute (size of image placed in cell is also 10x10)
(http://www.nlm.cz/samples/sample1.htm). When I remove DOCTYPE specification,
the table looks like expected (http://www.nlm.cz/samples/sample2.htm). Why? I
cannot find any other workaround then to remove DOCTYPE specification (which is
not solution for me :-). What is the influence of DOCTYPE on row/cell height?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html>
<head></head>
<body>
<table bgcolor="silver" border="1" cellpadding="0" cellspacing="0">
<tr height="10">
<td height="10">
<img src="form_bottom_left.gif" border="0" width="10" height="10">
</td>
</tr>
</table>
</body>
</html>
Reproducible: Always
Steps to Reproduce:
1. open http://www.nlm.cz/samples/sample1.htm
2. open http://www.nlm.cz/samples/sample2.htm
Actual Results:
First sample displays wrong cell height (DOCTYPE included).
Second sample displays correct cell height (without DOCTYPE declaration).
Expected Results:
Sample1 displays cell height as in sample2.
Comment 1•22 years ago
|
||
This is the intended behavior. 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
You need to log in
before you can comment on or make changes to this bug.
Description
•