Closed
Bug 319447
Opened 19 years ago
Closed 19 years ago
getSVGDocument() not implemented in <object> tag
Categories
(Core :: SVG, enhancement)
Tracking
()
RESOLVED
DUPLICATE
of bug 287465
People
(Reporter: JonasSchneider, Unassigned)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051111 Firefox/1.5
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051111 Firefox/1.5
I see that the getSVGDocument() method, which returns the containing SVGDocument object of an <embed> tag, is not implemented for the <object> tag. I think that method should be implemented for the <object> tag because it is one of the W3C-approved methods for embedding an SVG document into a HTML page, and the <embed> tag isn´t.
Reproducible: Always
Steps to Reproduce:
1. Check if an <object> tag DOM Equivalent has the property getSVGDocument
Actual Results:
getSVGDocument = undefined
Expected Results:
getSVGDocument= function() { ... }
Comment 1•19 years ago
|
||
anything wrong with using .contentDocument?
Comment 2•19 years ago
|
||
*** This bug has been marked as a duplicate of 287465 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
Comment 3•19 years ago
|
||
(In reply to comment #1)
> anything wrong with using .contentDocument?
As biesi says, use .contentDocument instead. Here are a couple of demos of moz and asv compatiple scripting:
http://jwatt.org/svg/demos/scripting-across-embed.html
http://jwatt.org/svg/demos/scripting-across-object.html
You need to log in
before you can comment on or make changes to this bug.
Description
•