Closed
Bug 5749
Opened 25 years ago
Closed 25 years ago
an image of 1 pixel high in a TD does not make TD area 1 px high. (TD doesn't shrink)
Categories
(Core :: Layout: Tables, defect, P3)
Tracking
()
VERIFIED
WORKSFORME
M9
People
(Reporter: bmlynch, Assigned: karnaze)
References
()
Details
I've tested this problem on Windows NT SP4 and i'm currently using build
1999042908 (although I've noticed this bug in previous versions).
The problem is this code:
<table bgcolor="#666666" cellpadding=0 cellspacing=0 border=0 width="100%">
<tr>
<td><img src="images/dot.gif" width=1 height=1 border=0></td>
</tr>
</table>
Where dot.gif if a 1x1 transparent gif. So this should render a line but instead
it renders as if the code was:
<table bgcolor="#666666" cellpadding=0 cellspacing=0 border=0 width="100%">
<tr>
<td><br></td>
</tr>
</table>
This code is viewable at:
http://www.cs.uiowa.edu/~bmlynch/test/test.html
The 3 webpages I gave you use this code. (The bug quite obvious on the news.com
site.)
Also, this only is a problem horizontally -- using a 1x1 gif for a vertical line
is OK.
Note: Changing the cellpadding, cellspacing and width doesn't make a difference.
Assignee | ||
Updated•25 years ago
|
Status: NEW → ASSIGNED
Target Milestone: M7
Assignee | ||
Comment 1•25 years ago
|
||
Moving to M9.
Comment 2•25 years ago
|
||
This seems fixed to me from your test case.
bmlynch@cs.uiowa.edu: could you check if this is fixed. If so, mark it
RESOLVED-WORKSFORME or RESOLVED-FIXED.
If it's not fixed, could you describe what it is you're seeing that's a problem
- the width of the gray stripe, the space around it, or what?
Updated•25 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → WORKSFORME
Comment 3•25 years ago
|
||
Reporter said by email that he thought bug was fixed. Marking WORKSFORME.
Updated•25 years ago
|
Status: RESOLVED → VERIFIED
Comment 4•25 years ago
|
||
Verified Worksforme
You need to log in
before you can comment on or make changes to this bug.
Description
•