Closed Bug 163844 Opened 22 years ago Closed 22 years ago

anchor (<a>) around image (<img>) vertical-align (css tag) move image out from the paragraph

Categories

(Core :: Layout, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 116762

People

(Reporter: bugzilla, Assigned: attinasi)

References

()

Details

(Keywords: testcase)

Attachments

(2 files, 1 obsolete file)

if you enter an anchor tag in a style sheet (css):

a {
  font-family: Tahoma;
  font-size: 12px;
}

and in the body tag:

hello, test test, test more words... start
<a href="asdasda"><img src="abrakadabra.jpg" width="200" height="200" alt=""
title="abrakadabra"></a>
end more more more more more words


and the space beside "start" and "end" is 12px height, not 200 px. if needable
then I can reproduce it.
Attached file testcase (obsolete) —
wow, i'm pretty surprised this hasn't come up before.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: testcase
Summary: anchor (<a>) and style-sheets (css) → anchor (<a>) around image (<img>) resizes image with font-size style-sheets (css)
Not a DOM problem.
Assignee: jst → attinasi
Component: DOM HTML → Layout
QA Contact: stummala → petersen
sorry! I did not test the bug before I sent it. therefore it was not valid. 
now, I tested it and here is the correct bug report.
Summary: anchor (<a>) around image (<img>) resizes image with font-size style-sheets (css) → anchor (<a>) around image (<img>) vertical-align (css tag) move image out from the paragraph in frameset
sorry!
Summary: anchor (<a>) around image (<img>) vertical-align (css tag) move image out from the paragraph in frameset → anchor (<a>) around image (<img>) vertical-align (css tag) move image out from the paragraph
Comment on attachment 96215 [details]
testcase

bug morphed or I misunderstood.
Attachment #96215 - Attachment is obsolete: true
If I understand KARASZI and Waheed correctly, there were no problem.

--> INVALID
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → INVALID
I think that nobody tests the bug, that I sent.
Please download the screenshot and open the URL. You will see that is not an 
invalid bug
Status: RESOLVED → REOPENED
Resolution: INVALID → ---
OK, sorry, now I see the same layout as your screenshot shows.
OS: Windows XP → All
Hardware: PC → All
Attached file Testcase

*** This bug has been marked as a duplicate of 116762 ***
Status: REOPENED → RESOLVED
Closed: 22 years ago22 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: