letters in div only partially colored with onmouseover="this.style.color = 'colorValue'"

RESOLVED WORKSFORME

Status

Core Graveyard
GFX
P1
normal
RESOLVED WORKSFORME
17 years ago
9 years ago

People

(Reporter: Martin Honnen, Assigned: Kevin McCluskey (gone))

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

17 years ago
The following example shows a strange effect when mousing over text 5. Only the 
upper half of the letters and digits get colored red while the lower half 
remains black.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
                        "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>
text coloring
</title>
</head>
<body>
<DIV style="position:relative;height:85px; overflow:hidden;">
  <DIV style="position:relative;top:-10px;">
    <DIV onmouseover="this.style.color='#F00';"
onmouseout="this.style.color='';">text 1</DIV>
    <DIV onmouseover="this.style.color='#F00';"
onmouseout="this.style.color='';">text 2</DIV>
    <DIV onmouseover="this.style.color='#F00';"
onmouseout="this.style.color='';">text 3</DIV>
    <DIV onmouseover="this.style.color='#F00';"
onmouseout="this.style.color='';">text 4</DIV>
    <DIV onmouseover="this.style.color='#F00';"
onmouseout="this.style.color='';">text 5</DIV>
  </DIV>
</DIV>            
</body>
</html
(Reporter)

Comment 1

17 years ago
Created attachment 31822 [details]
bug demo (mouseover text 5 and it should become red)

Comment 2

17 years ago
can confirm this on Linux 20010420

Comment 3

17 years ago
Maybe that's because of the "-10px" tricking Mozilla?
This sounds like a compositor bug to me -- we're drawing things not quite right.
 Looks like we think that the content of the inner div is overflowing the outer
div, so we think it's hidden and don't repaint it...

seeing this on linux build 2001-04-22-21 as well.
Assignee: pierre → kmcclusk
Component: Style System → Compositor
OS: Windows 95 → All
QA Contact: ian → petersen

Comment 5

17 years ago
Sounds like the problem I described 2001-04-14 in bug 46168.
(Assignee)

Updated

17 years ago
Target Milestone: --- → mozilla0.9.3

Updated

17 years ago
Target Milestone: mozilla0.9.3 → mozilla0.9.4
(Assignee)

Updated

17 years ago
Target Milestone: mozilla0.9.4 → mozilla0.9.6
(Assignee)

Updated

16 years ago
Status: NEW → ASSIGNED
Target Milestone: mozilla0.9.6 → mozilla0.9.8
(Assignee)

Updated

16 years ago
Target Milestone: mozilla0.9.8 → mozilla1.0.1
(Assignee)

Comment 6

16 years ago
Bulk moving Mozilla1.01 bugs to future-P1. I will pull from the future-P1 list
to schedule bugs for post Mozilla1.0 milestones
Priority: -- → P1
Target Milestone: mozilla1.0.1 → Future
(Assignee)

Comment 7

16 years ago
WFM: Using 2002/6/28 trunk build on WinXP.
Status: ASSIGNED → RESOLVED
Last Resolved: 16 years ago
Resolution: --- → WORKSFORME
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.