Closed
Bug 95603
Opened 23 years ago
Closed 23 years ago
spacer gif height problem -- xhtml dtd
Categories
(Core :: Layout: Tables, defect)
Core
Layout: Tables
Tracking
()
mozilla0.9.3
People
(Reporter: vogt, Assigned: karnaze)
References
()
Details
(Keywords: xhtml)
Attachments
(1 file)
517 bytes,
text/html
|
Details |
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Macintosh; U; PPC; en-US; rv:0.9.3) Gecko/20010802
BuildID: 2001080110
Spacer gifs (width,height="1px")in a <td height="1"> are not shown with a 1px
height if you are using an absolute path. They are always shown with a height >
1px. There is no problem using it with a relative path.
Reproducible: Always
Steps to Reproduce:
1.make a spacer gif with 1px height and width
2. put the spacer gif in a <td height="1"><img
src="http://www.images.com/spacer.gif"></td> with an absolute path
3.look at the result
Actual Results: the height of the <td> was not 1 px. It was always about 5px
Expected Results: An 1px line.
It works fine with an relative path.
I generated a testcase for this and it works just fine under Mac/2001080214 (0.9.3). The
single black pixel GIF renders at a size of 1px by 1px inside a solid 1px red border in the TD.
Reporter, the IMG SRC you provided doesn't return a GIF.
Marking WFM. Reporter, if you can attach a different testcase that exhibits the problem,
please feel free to reopen.
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → WORKSFORME
I have reproduced it!
The problem occur when you use the xhtml-dtd for the document.
If you use the xhtml-dtd the spacer-table will be greater than 1px.
If you switch to html 4.01-dtd it will work fine.
But we are willing to use the xhtml-dtd.
Any suggestions? something in the css or a error in mozilla's xhtml
display engine?
Status: RESOLVED → UNCONFIRMED
Keywords: xhtml
Resolution: WORKSFORME → ---
Summary: spacer gif height problem → spacer gif height problem -- xhtml dtd
Target Milestone: --- → mozilla0.9.3
Comment 4•23 years ago
|
||
Dupe of invalid bug 22274. You can use "display: block" for the images.
Read that bug for more information.
*** This bug has been marked as a duplicate of 22274 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago → 23 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•