Closed Bug 119634 Opened 24 years ago Closed 24 years ago

a:hover over an img doesn't work over the entire link

Categories

(Core :: Layout, defect)

x86
Linux
defect
Not set
minor

Tracking

()

VERIFIED DUPLICATE of bug 74712

People

(Reporter: red_one, Assigned: attinasi)

Details

Attachments

(1 file)

see attached testcase mouse-over the image, only the text background is changed. the entire background of both text and img should be changed.
Attached file testcase —
Summary: a:hover over a link doesn't work over the entire link → a:hover over an img doesn't work over the entire link
fwiw, I could have sworn that there was another bug out there for this, but maybe not. Anyway, the link element should just be letting it's children redraw themselves, they know best how to do it.
Status: UNCONFIRMED → NEW
Ever confirmed: true
<style type="text/css"> body { background-color: white; color: black; } a:hover { background: purple } </style> this may be related with bug 5693
Our behaviour is in fact correct. You are coloring the background of the <a> and the <a> is only as tall as the font-size, not the image. Images are replaced inline elements and do not affect the font-size. See bug 74712 which was marked invalid. *** This bug has been marked as a duplicate of 74712 ***
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
vrfy also testcase shows bug 61217
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: