Closed Bug 116762 Opened 23 years ago Closed 15 years ago

vertical-align: set on anchor crops an image within it

Categories

(Core :: Layout: Tables, defect, P3)

x86
All
defect

Tracking

()

RESOLVED DUPLICATE of bug 118501
Future

People

(Reporter: mozilla, Unassigned)

References

()

Details

(Keywords: css1, testcase, Whiteboard: [DUPEME][CSS1-5.4.4])

Attachments

(3 files, 1 obsolete file)

From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.7) Gecko/20011221
BuildID:    2001122108

The image is not displayed properly. Only a small part is displayed
and that part also shown outside the table. Depends on vertical-align
being set on <A> tag.

Image displays improperly tested on Linux (0.96 & 0.97) and on Windows
(0.96).

Image displays correctly on Netscape 4.7x, Konqueror 2.1.1, and IE 5.1.

Reproducible: Always
Steps to Reproduce:
1.View page given with Mozilla


Actual Results:  Image not displayed properly/fully.

Expected Results:  Image should have been displayed.

See URL given above and corresponding style sheet.
All pages above pass http://validator.w3.org
Attached file Testcase
Confirming and reasssigning to HTMLTables.
Assignee: attinasi → karnaze
Status: UNCONFIRMED → NEW
Component: Layout → HTMLTables
Ever confirmed: true
Keywords: testcase
QA Contact: petersen → amar
Temporarily moving to future until a milestone can be assigned. 
Status: NEW → ASSIGNED
Target Milestone: --- → Future
this can be re-worked around by attaching the align to the image instead of the 
anchor.  this is a dupe of another bug which i cannot seem to find yet right 
now.
Summary: Image cropped with vertical-align on anchor tag in table → align on anchor causes bug. Image cropped with vertical-align on anchor tag in table
Whiteboard: [DUPME]
Summary: align on anchor causes bug. Image cropped with vertical-align on anchor tag in table → vertical-align: set on anchor crops an image within it
Whiteboard: [DUPME] → [DUPEME][CSS1-5.4.4]
*** Bug 163844 has been marked as a duplicate of this bug. ***
mass reassign to default owner
Assignee: karnaze → table
Status: ASSIGNED → NEW
QA Contact: amar → madhur
Target Milestone: Future → ---
Priority: -- → P3
Target Milestone: --- → Future
*** Bug 87767 has been marked as a duplicate of this bug. ***
wfm winxp 2004080708

Mats is that really wfm or do I overlook something?
I think that the top of "XXX" should be aligned with the top of the image,
both aligned at the top of the cell which is high enough to fit its contents.
I think there is a Block/Inline bug somewhere on the align issue (bug 118501?)
Depends on: 118501
Well, after reading the spec, I now think that "XXX" should stay on the baseline.
http://www.w3.org/TR/CSS21/visudet.html#propdef-vertical-align

That is, the testcase should render exactly as if the 'vertical-align' had not
been specified...
*** Bug 269953 has been marked as a duplicate of this bug. ***
Keywords: css1
this happens also with generic div and span elements.
this did not work before 1.9 but does now.
Status: NEW → RESOLVED
Closed: 15 years ago
Flags: in-testsuite?
Resolution: --- → WORKSFORME
Resolution: WORKSFORME → DUPLICATE
Bernd, is testcase 2 correct in saying that the image should be inside the box in both cases? If that's true, then it still isn't passing for me on 3.0.9. The image bleeds through the top box. On the other hand, given the bug title, I would be inclined to at least say that it's a different bug if it is indeed one.
bug 118509 was fixed in 3.1a1, i.e., after 3.0.*.
Attached file bug116762-reftests (obsolete) —
Attachment #378382 - Flags: review?(dbaron)
Attachment #378382 - Attachment is obsolete: true
Attachment #378383 - Flags: review?(dbaron)
Attachment #378382 - Flags: review?(dbaron)
Did you test that your test fails before the bug was fixed?  Did you check that it passes in the reftest harness?
Comment on attachment 378383 [details] [diff] [review]
bug116762-reftests

Marking as review-denied to prompt a response to the question in the previous comment.  When you answer, please re-request review (set the flag back to "?" and fill in my email in the box).
Attachment #378383 - Flags: review?(dbaron) → review-
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: