Closed
Bug 271884
Opened 20 years ago
Closed 20 years ago
image in an anchor in a table cell: Mozilla adds a 2 pixel high transparent stripe below
Categories
(Core :: Layout: Block and Inline, defect)
Tracking
()
People
(Reporter: babszem, Unassigned)
Details
Attachments
(1 file)
|
828 bytes,
text/html
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0 On the attached page there is a transparent gap between the image's bottom edge and the cell's bottom edge. The gap should be the anchor bottom border (which should be right below the image as opposed to a few pixels below), but even if I set the anchor border to 1 pixel the gap stays at least 2 pixels. Also the anchor border should be surrounding the image, but instead the top anchor border slices through the image. Also in the second cell the anchor border overlaps the cell border. As far as I know the cell border should contain the anchor border which in turn should contain only the image (no gap). In the second cell the anchor border should be exactly below the cell border. Reproducible: Always Steps to Reproduce: 1. Open the attached HTML page. Actual Results: See details. Expected Results: See details. I also tried the page with the latest Mozilla build (Mozilla 1.8a5). Still no good.
Comment 2•20 years ago
|
||
Mozilla is correct in its rendering. The image is rendered inline, and the default alignment is to the baseline, not the bottom. See http://www.w3.org/TR/CSS21/visudet.html#propdef-vertical-align
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
Comment 3•20 years ago
|
||
Actually, this is a duplicate..
Status: RESOLVED → UNCONFIRMED
Resolution: INVALID → ---
Comment 4•20 years ago
|
||
*** This bug has been marked as a duplicate of 22274 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago → 20 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•