Re: Accessing Object Parameters from an Embedded SVG

On Thu, 13 Mar 2008 19:41:56 +0100, Boris Zbarsky <bzbarsky@MIT.EDU> wrote:
> That's because per the spec document.domain is readonly.  See  
> <http://www.w3.org/TR/SVG11/struct.html#InterfaceSVGDocument>.
>
> There is a workaround in place for HTML documents (even though the  
> property is readonly per spec there too, the web depends on it being  
> writable).  Perhaps such a spec deviation is needed for SVG as well.  Or  
> perhaps the SVG specification needs to be changed.

Interesting. Guess it would be easiest if SVG dropped the attribute given  
that the current plan seems to be to have all Document interfaces  
implemented everywhere. (And in HTML5 you can write it.)


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>

Received on Thursday, 13 March 2008 18:46:51 UTC