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

Re: Notes on implementing non-local URI references and resource documents

From: Robert O'Callahan <robert@ocallahan.org>
Date: Wed, 15 Oct 2008 17:08:31 +1300
Message-ID: <11e306600810142108s283ca939k798e00a77ada69a9@mail.gmail.com>
To: "Boris Zbarsky" <bzbarsky@mit.edu>
Cc: "Erik Dahlström" <ed@opera.com>, www-svg@w3.org
On Wed, Oct 15, 2008 at 1:00 AM, Boris Zbarsky <bzbarsky@mit.edu> wrote:

>
> Opera currently allows cross-domain references in svg, but applies
>> restrictions on trying to access the DOM of those documents, similar to how
>> <iframe> is handled.
>>
>
> I don't believe the SVG specification has any way of accessing the DOM of
> resource documents to start with, so it sounds like we're not talking about
> the same thing here.


There actually is one way: nodes created by <use> should implement
SVGElementInstance, whose 'correspondingElement' property gives you a
reference to the DOM node in the resource document.
http://www.w3.org/TR/SVG/struct.html#InterfaceSVGElementInstance
Maybe that's what Erik was talking about.

Rob
-- 
"He was pierced for our transgressions, he was crushed for our iniquities;
the punishment that brought us peace was upon him, and by his wounds we are
healed. We all, like sheep, have gone astray, each of us has turned to his
own way; and the LORD has laid on him the iniquity of us all." [Isaiah
53:5-6]
Received on Wednesday, 15 October 2008 04:09:09 GMT

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