Re: [whatwg] Specify getSVGDocument

On Tue, 19 Nov 2013, Erik Dahlström wrote:
>
> SVG 1.1 Second Edition deprecated .getSVGDocument(), and made it an 
> alias for .contentDocument essentially yes.
> 
> SVG2 has not yet seen any edits related to this method. But it's not 
> unlikely that SVG2 will drop it given that SVG 1.1 states: "This 
> interface is deprecated and may be dropped from future versions of the 
> SVG specification".
> 
> It's possible that .getSVGDocument() is still in use due to <embed> 
> elements not supporting .contentDocument, and people wanting to allow 
> the use of plugins for svg content in case there was no native svg 
> support in the browser. This may have changed due to the Adobe SVG 
> plugin not being supported anymore.

If the SVG working group would like this to be defined in the HTML spec 
instead, let me know. I'd be happy to spec it there if so. In the 
meantime, I'll leave it for the SVG spec.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Friday, 6 December 2013 19:34:08 UTC