Closed
Bug 98005
Opened 23 years ago
Closed 23 years ago
clipped image blocks mouse clicks to adjacent form
Categories
(Core :: DOM: Events, defect)
Tracking
()
People
(Reporter: triads70, Assigned: joki)
References
()
Details
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9.2) Gecko/20010726
Netscape6/6.1
BuildID: 2001080110
The clipped (transparent) portion of an image on "z-index:2" blocks mouse clicks
to an adjacent form on "z-index:1" even though the form is visible.
This works "as expected" under IE5 and NS4.
(I tested this under Mozilla 0.9.3 - this form was submitted using Netscape.)
(Apologies for the advertisement in the test URL: this is from a free site...)
Reproducible: Always
Steps to Reproduce:
1.Create a DIV for a form with "z-index:1"
2.Create a DIV for a large but clipped image and overlay it by using "z-index:2"
onto the DIV in step 1
3.Form button is visible but javascript:alert("Hello") cannot be invoked
4.Set image "z-index:2" to "z-index:0" and form button will now receive mouse click
Actual Results: Form button is visible under clipped portion of an image but
cannot receive mouse clicks
Expected Results: onClick="alert('Hello')" should have been invoked as is the
case with IE5 and NS4
![]() |
||
Comment 1•23 years ago
|
||
Duplicate of "[EVENTTARG]mouse events don't pass through clipped element"
*** This bug has been marked as a duplicate of 35274 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•