Closed
Bug 1925
Opened 26 years ago
Closed 26 years ago
An absolutely positioned element doesn't respond to onClick
Categories
(Core :: DOM: Core & HTML, defect, P2)
Tracking
()
VERIFIED
FIXED
M7
People
(Reporter: johan.a.eklund, Assigned: joki)
Details
A HTML element (in my test case, a DIV) which normally responds to onClick (to
change the text in the element) stops reacting to this event when it's
positioned absolutely (position: absolute; top: 100px; left: 100px;).
Updated•26 years ago
|
Assignee: vidur → joki
Comment 1•26 years ago
|
||
Events are part of joki's domain.
Comment 3•26 years ago
|
||
per leger, assigning QA contacts to all open bugs without QA contacts according
to list at http://bugzilla.mozilla.org/describecomponents.cgi?product=Browser
QA contact re-assigned according to the product areas we're currently working
on.
Assignee | ||
Comment 5•26 years ago
|
||
Fixed. Here's some test code.
<HTML>
<BODY>
<div onclick="dump('click div 1\n');">
Div 1
</div>
<div style="position: absolute; top: 100px; left: 100px;" onclick="dump('click
div 2\n');">
Div 2
</div>
</BODY>
</HTML>
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Updated•26 years ago
|
Status: RESOLVED → REOPENED
Updated•26 years ago
|
Resolution: FIXED → ---
Comment 6•26 years ago
|
||
Build 1999-06-02-08-M7
Win98
When I run this example text, I get confirmation (in the dos window) that the
div1 and div2 are being clicked, however there are no on screen text changes as
I understand there should be.
Updated•26 years ago
|
Status: REOPENED → RESOLVED
Closed: 26 years ago → 26 years ago
Resolution: --- → FIXED
Updated•26 years ago
|
Status: RESOLVED → VERIFIED
Comment 7•26 years ago
|
||
My mistake, I didn't understand what the "dump" method was for.
Verified fixt.
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•