Closed Bug 29449 Opened 25 years ago Closed 25 years ago

offsetWidth incorrect for element appended inside event handler

Categories

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

x86
Linux
defect

Tracking

()

VERIFIED WORKSFORME

People

(Reporter: myk, Assigned: joki)

References

()

Details

(Keywords: testcase)

Attachments

(1 file)

Overview Description: When two divs, one inside the other, are appended to the document body from within an event handler, the inner div's offsetWidth is incorrectly set to zero instead of its actual width until the event handler finishes firing. This does not happen when the divs are appended outside of an event handler or when the event handler fires an alert dialog box after appending the divs. Test case to be attached. Actual Results: offsetWidth is zero after divs are appended Expected Results: offsetWidth is width of document after divs are appended Build Date & Platform Bug Found: Linux 2000-02-27-04 Additional Builds and Platforms Tested On: none
Attached file test case (deleted) —
Marking m17 and testcase.
Keywords: testcase
Target Milestone: M17
This appears to be working in Linux 200-05-27-20.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → WORKSFORME
Mass update: changing qacontact to ckritzer@netscape.com
QA Contact: janc → ckritzer
Updating QA Contact.
QA Contact: ckritzer → lorca
Works for me: Platform: PC OS: Redhat 6.2 Linux 2.2.14 Mozilla Build: 2000103108 M18 Trunk Build Marking as verified.
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

Created:
Updated:
Size: