W3C home > Mailing lists > Public > www-svg@w3.org > March 2008

Re: Accessing Object Parameters from an Embedded SVG

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Thu, 13 Mar 2008 13:41:56 -0500
Message-ID: <47D97574.1010700@mit.edu>
To: Jeff Schiller <codedread@gmail.com>
CC: www-dom@w3.org, "Web API WG (public)" <public-webapi@w3.org>, www-svg <www-svg@w3.org>

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 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:38 GMT