Closed Bug 40584 Opened 26 years ago Closed 26 years ago

[EVENTTARG]A hidden DIV prevents clicking on links underneath it

Categories

(Core :: DOM: UI Events & Focus Handling, defect, P3)

defect

Tracking

()

VERIFIED DUPLICATE of bug 42356

People

(Reporter: stephe, Assigned: joki)

References

Details

Attachments

(3 files)

The attached html page has an href that on onmouseover should show a DIV that is normally hidden. The DIV is supposed to behave like a submenu. In both IE5 and Communicator 4.73, this works, but in Mozilla (latest nightly build - 2000052420), the DIV is never shown. I know nothing of DIVs so my apologies if this is just bad html, but I took this example from a commercial app.
Attached file Testcase for this bug
Bug part 2: OK. So maybe this has nothing to do with Javascript. Take a look at the second attachment. It is a page with two hrefs on it. The second href, "Non working link", is underneath the hidden DIV. Move the mouse back and forth over the link, and you will the the cursor flicker between the pointing finger and the arrow. In addition, clicking on the link does nothing. Needless to say, this also work fine in IE5 and Communicator.
The first part of this bug is clearly a duplicate of <A HREF="show_bug.cgi?id=34667">bug 34667</A>, but the second part is still true. I changed the summary and changed the component to HTML Element.
Component: Javascript Engine → HTML Element
Summary: Javascript does not show a hidden DIV → A hidden DIV prevents clicking on links underneath it
Confirming, changing component to Event Handling, and reassigning. Changing to All/All from PC/Windows NT since I see it on Linux (05-30 build). This is weird. It looks (visually) like GetFrameForPoint is doing the right thing - the link goes into the :active state, and the pointer changes (but in a very weird way - it flashes when moved). However, clicking the link in the part where the div is over it (the right part in my simplified testcase) doesn't work. This makes me think the event is somehow being sent incorrectly (perhaps to the wrong view??). I haven't seen an event targetting bug like this before. This seems like a regression. I'd have to recheck the old testcases for the EVENTTARG bugs that are fixed.
Assignee: rogerl → joki
Status: UNCONFIRMED → NEW
Component: HTML Element → Event Handling
Ever confirmed: true
OS: Windows NT → All
QA Contact: pschwartau → janc
Hardware: PC → All
Summary: A hidden DIV prevents clicking on links underneath it → [EVENTTARG]A hidden DIV prevents clicking on links underneath it
*** Bug 36442 has been marked as a duplicate of this bug. ***
Status: NEW → ASSIGNED
Cool. Definitely a dupe of bug 42356 for which I have a fix pending. *** This bug has been marked as a duplicate of 42356 ***
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → DUPLICATE
Mass update: changing qacontact to ckritzer@netscape.com
QA Contact: janc → ckritzer
Updating QA Contact.
QA Contact: ckritzer → lorca
Verified dupe.
Status: RESOLVED → VERIFIED
Component: Event Handling → User events and focus handling
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: