Closed
Bug 192283
Opened 22 years ago
Closed 22 years ago
document.getElementById returns nothing on <object> tag when called before body.onload
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: ashshbhatt, Assigned: jst)
References
()
Details
(Keywords: qawanted)
Tested on 20030207 document.getElementById() does not return anything when called before body.onload() for <object> tag
Reporter | ||
Comment 1•22 years ago
|
||
forgot to mention it works in IE
Comment 2•22 years ago
|
||
slip.mcom.com not found where I'm sitting... care to attach a test case?
Comment 3•22 years ago
|
||
Assigning to reporter to attach a usable testcase...
Assignee: jst → ashishbhatt
Keywords: qawanted
Assignee | ||
Comment 4•22 years ago
|
||
From looking at the testcase, it places an object tag in the head element, immediately followed by a script element. This is of course invalid HTML, and my guess is that the parser holds on to the object tag until it sees the start of the body, and then hands it to the DOM code... Does this work if you place the object tag and the script tag in the beginning of the body tag in stead of inside the head tag? If so, then I say this is WONTFIX.
Comment 5•22 years ago
|
||
Johnny, can you talk to Ashish and please figure out if this indeed 'wontfix' material? Thanks.
Assignee: ashishbhatt → jst
Assignee | ||
Comment 6•22 years ago
|
||
WONTFIX.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•