Closed Bug 254798 Opened 20 years ago Closed 20 years ago

Text-decoration:underline doesn't change color like the text when hovering over it

Categories

(Core :: Layout: Text and Fonts, defect)

x86
Windows XP
defect
Not set
trivial

Tracking

()

VERIFIED DUPLICATE of bug 241627

People

(Reporter: martijn.martijn, Unassigned)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a3) Gecko/20040808 Firefox/0.9.1+
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a3) Gecko/20040808 Firefox/0.9.1+

See upcoming testcase.
Basically, the problem is that the bottom line of the text should also change
it's color to green when hovering over the text. 

this was the minimal testcase I could come up with:
<html><head>
<style type="text/css">
div{
color:red;
text-decoration:underline overline;
font-size: 12px;
font-family: -moz-fixed;
}
div:hover{color:green;}
</style>
</head>

<body>
<h2>dummy text to trigger bug</h2>
<div>Mouseover this, the underline should become green also, but it doesn't</div>
</body></html>

So it happens only in very specific cases.

Reproducible: Always
Steps to Reproduce:
1. See testcase
2. Hover over text
3.

Actual Results:  
The underline didn't turn green, but stayed red.

Expected Results:  
Also the underline should turn green.
Attached file Testcase
maybe related: Bug 241627, Bug 35146
Ah, this is most likely a duplicate of bug 241627, since the testcase came
originally from a site which used pre tags.

*** This bug has been marked as a duplicate of 241627 ***
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8b) Gecko/20050205
Firefox/1.0+

WFM
I can repro this bug with yesterday's trunk build but not with today's, so verifying that it's a dup.  (Testing on WinXP.)
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: