Closed Bug 184005 Opened 22 years ago Closed 21 years ago

tooltip text erases part of fixed absolute positioned image, repaint is failing

Categories

(Core :: Layout, defect, P3)

x86
Windows 98
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: deron.meranda, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.2.1) Gecko/20021130
Build Identifier: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.2.1) Gecko/20021130

The tooltip which appears when hovering over a tab when using tabed browsing
will overlay an image on a webpage, but when the tooltip disappears after moving
the mouse the reexposed part of the image is missing rather than repainted.

This only happened after upgrading to Mozilla 1.2.1, it did not occur with 1.1.

The image is a color PNG and does have an alpha transparency channel.  The image
is layered over top of a fixed body background image as well as partially
overlayed on top of another PNG image via absolute positioning.  Both underlying
images remain intact, only the topmost image has a "hole" in it.

The web page is XHTML compliant and rendered in strict mode.  The topmost image
is absolutely positioned inside a <div> section with the following CSS style:

@media screen {
  div#planet {
        background-attachment: fixed;
        position: absolute; top: 0px; left: 0px; width: 100px; height: 100px;
        z-index:10;
  }
  div#planet a img { border:0 }
}


Reproducible: Always

Steps to Reproduce:
1. Load page with properties I've described, make sure the tab bar is shown
2. Hover the mouse over a tab such that the tooltip text overlays part of the image.
3. Move the mouse so the tooltip disappears...the image will now have a "hole"
in it which lets the background show through.

Actual Results:  
Already described, the image is corrupted until it is reloaded again.

Expected Results:  
The removal of the tooltip text should have left the image it overlayed intact.

Using standard Modern theme.

This is Windows 98SE, 1280x1024 32-bit color.  Gfx card is a GeForce 256 (ASUS
AGP-V6800 DDR driver 6.31c).

Upgrading to 1.2.1 also introduced another layout bug with this same page
involving this same absolute positioned image which I will report as a separete
bug,...but may be related.
wfm with win2k and a 1 day old CVS trunk
I see the problem with build 2002120604, Win98.  Maybe it's a Win9x problem of
some sort, or depends on video card/driver?  I'm using an S3 Savage2K.
worksforme on Linux as well; ccing dcone in case this is a win9x-specific paint
problem.
Priority: -- → P3
Is this still a problem in current builds?
-> wfm
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → WORKSFORME
As the original reporter I can verify that this bug disappeared as of Mozilla
1.6 final.
You need to log in before you can comment on or make changes to this bug.