[whatwg] Specify getSVGDocument

Boris Zbarsky bzbarsky at MIT.EDU
Mon Nov 18 11:02:53 PST 2013

On 11/18/13 1:37 PM, Philip Jägenstedt wrote:
> http://software.hixie.ch/utilities/js/live-dom-viewer/?saved=2643
> In my testing, getSVGDocument is supported on <embed>, <frame>,
> <iframe> and <object> in Firefox Nightly, IE11 Preview, Safari 7.0 and
> Opera 12.16, the only exception being frame.getSVGDocument in Firefox.
> I don't know if this API is actually useful, but since it's already
> implemented everywhere it should probably be spec'd.

SVG2 is trying to spec it, afaict, as basically an alias for 
.contentDocument.  It _would_ make more sense to do that in HTML, I agree.


More information about the whatwg mailing list