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)
Tracking
()
People
(Reporter: red_one, Assigned: attinasi)
Details
Attachments
(1 file)
|
699 bytes,
text/html
|
Details |
see attached testcase
mouse-over the image, only the text background is changed. the entire background
of both text and img should be changed.
| Reporter | ||
Comment 1•24 years ago
|
||
| Reporter | ||
Updated•24 years ago
|
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
Comment 2•24 years ago
|
||
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
Comment 3•24 years ago
|
||
<style type="text/css">
body {
background-color: white;
color: black;
}
a:hover { background: purple }
</style>
this may be related with bug 5693
Comment 4•24 years ago
|
||
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
You need to log in
before you can comment on or make changes to this bug.
Description
•