Re: Accessing Object Parameters from an Embedded SVG

Jeff Schiller wrote:
 > Fx3 does not allow you to do this:
 >   "setting a property that has only a getter"

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.

-Boris

Received on Thursday, 13 March 2008 18:42:43 UTC