Closed Bug 305492 Opened 19 years ago Closed 19 years ago

CSS - Losing hover-event on link, when div (position:static) overlaps - Image flickering

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 305491

People

(Reporter: mfg.me, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6

Using the css:hoover to display static content ist buggy if the displayed
content overlaps the anchor causing the hoover. In my actual example a thumbnail
is overlapped by its fully sized version positioned "static" with higher z-index
on the page. When the larger image is "between" the mouse-cursor and the anchor
then the hooover-event seems to end. This results in image-flickering when
moving the mouse.

<a style="a:hoover span {display:block}"><img><span
style="display:none"><img/></span></a>

Reproducible: Always

Steps to Reproduce:
1. Create something like <a><img src="thumbnail"><span><img
src="largeimage"></span></a>
2.
Use following styles:
div.content a span {display:none; position:fixed; top: 0px; left: 0px;}
div.content a:hover span { display:block; }
3. Move mouse so that the image (in the span-tag) is displayed over the
thumbnail (content of a-tag).

Actual Results:  
The displayed image is being removed immediately after the a:hover is executed.
When moving the mouse the image containted in the span-tag is flickering

Expected Results:  
The image should stay on top until the mouse leaves the bounds of the
overlapping image with the higher z-index.

FF: The Bug is reproduceable (tested) on FF 1.0.0 up to FF 1.0.6
NS: The Bug is reproduceable (tested) on NS (NS 8.0 not tested)
MZ: The Bug is _not_ reproduceable on actual Mozilla 1.8b2 (Gecko/20050702)
IE: IE doesen't support "position:fixed" 

Tested using:
Windows Xp SP1 (several different installations)
FF 1.0.6 and FF 1.0.0
Mozilla 1.8b2
Theme Littlefox 1.0.19 and Default

*** This bug has been marked as a duplicate of 305491 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.