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)

x86
Windows 98
defect

Tracking

()

VERIFIED FIXED

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;).
Assignee: vidur → joki
Events are part of joki's domain.
Setting all current Open/Normal to M4.
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: 4015 → 3847
QA contact re-assigned according to the product areas we're currently working on.
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
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
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.
Status: REOPENED → RESOLVED
Closed: 26 years ago26 years ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
My mistake, I didn't understand what the "dump" method was for. Verified fixt.
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.