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)
Tracking
()
VERIFIED
WORKSFORME
M17
People
(Reporter: myk, Assigned: joki)
References
()
Details
(Keywords: testcase)
Attachments
(1 file)
(deleted),
text/html
|
Details |
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
Reporter | ||
Comment 1•25 years ago
|
||
Reporter | ||
Comment 3•25 years ago
|
||
This appears to be working in Linux 200-05-27-20.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → WORKSFORME
Comment 4•24 years ago
|
||
Mass update: changing qacontact to ckritzer@netscape.com
QA Contact: janc → ckritzer
Comment 6•24 years ago
|
||
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
Updated•6 years ago
|
Component: Event Handling → User events and focus handling
You need to log in
before you can comment on or make changes to this bug.
Description
•