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)

x86
Linux
defect
Not set
major

Tracking

()

VERIFIED DUPLICATE of bug 36240

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.
confirmed ...
Status: UNCONFIRMED → NEW
Ever confirmed: true
Dup of bug 36240?
Looks like it, assuming nsHTMLObjectElement is the backing implementation for the Javascript equivalent. [ug, that was a mouthful]
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
verified dup
Status: RESOLVED → VERIFIED
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.