Closed
Bug 38883
Opened 24 years ago
Closed 24 years ago
A:hover with image changes background colour but incorrectly sized box
Categories
(Core :: CSS Parsing and Computation, defect, P3)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
INVALID
People
(Reporter: aaron, Assigned: pierre)
References
()
Details
(Keywords: css2, verifyme)
Attachments
(2 files)
I am running Mozilla M15 under Windows NT to test my intranet Web site. My pages use a style sheet that lights up hyperlink text with a blue background: A:link { color : #FFFF00 ; background-color : transparent ; text-decoration : none ; } A:hover { color : #FFFF00 ; background-color : #FF0000 ; } IMG { border-width : 0pt ; vertical-align : middle ; background-color : transparent ; } Transparent GIFs that act as hypertext links also show this highlight through the transparency, and the effect is not too bad: <A href="something.html"><IMG SRC="transparent.gif" ALT="Blue highlight"></A> However, the highlight is only as big as normal text. In M15, the width looks right but the height is wrong; IE5.0 (Win32) renders the highlight as intended (but it can't draw tables properly). I'll add an attachment with an example.
Comment 3•24 years ago
|
||
This is per the spec. To get the effect you describe, use these styles: :link, :link *, :visited, :visited * { color : #FFFF00 ; background-color : transparent ; text-decoration : none ; } :link:hover, :visited:hover, :link:hover *, :visited:hover * { color : #FFFF00 ; background-color : #FF0000 ; } IMG { border-width : 0 ; vertical-align : middle ; }
Comment 4•24 years ago
|
||
As per meeting with ChrisD yesterday, taking QA.
QA Contact: chrisd → py8ieh=bugzilla
Comment 5•24 years ago
|
||
Reassigning to chrisd for verification, since I marked it resolved.
QA Contact: ian → chrisd
Comment 6•24 years ago
|
||
Netscape's standard compliance QA team reorganised itself once again, so taking remaining non-tables style bugs. Sorry about the spam. I tried to get this done directly at the database level, but apparently that is "not easy because of the shadow db", "plus it screws up the audit trail", so no can do...
QA Contact: chrisd → ian
Comment 7•23 years ago
|
||
Reassigning to petersen for verification, since I marked it resolved.
QA Contact: ian → petersen
You need to log in
before you can comment on or make changes to this bug.
Description
•