Closed
Bug 96570
Opened 23 years ago
Closed 23 years ago
HTMLObjectElement.contentDocument is null for OBJECT's containing text/html documents
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
People
(Reporter: mike, Assigned: jst)
References
()
Details
When embedding a HTML document using and OBJECT tag, the
HTMLObjectElement.contentDocument property should contain the document for that
embedded HTML document, but it is null.
Specifing type="text/html" doesn't seem to help, either.
Have a look at the testcase in the URL field.
Linux/20010922.
Reporter | ||
Comment 3•23 years ago
|
||
Looks like it, assuming nsHTMLObjectElement is the backing implementation for
the Javascript equivalent. [ug, that was a mouthful]
Comment 4•23 years ago
|
||
Yes, HTMLObjectElement.contentDocument will call
nsHTMLObjectElement::GetContentDocument()
Marking as dup, thanks for the answer.
*** This bug has been marked as a duplicate of 36240 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
Component: DOM: HTML → DOM: Core & HTML
QA Contact: stummala → general
You need to log in
before you can comment on or make changes to this bug.
Description
•