W3C home > Mailing lists > Public > www-svg@w3.org > July 2005

[SVG12] Scripting engines in externally referenced documents

From: Cameron McCormack <cam-www-svg@aka.mcc.id.au>
Date: Thu, 7 Jul 2005 15:29:00 +1000
To: www-svg@w3.org
Message-ID: <20050707052900.GC11687@port.mcc.id.au>

Section 17.1 explains the difference between a primary document and a
resource document:

  The only difference between a resource document and a primary document
  is that the primary document is rendered directly to the canvas,
  whereas all resource documents are conceptually rendered to an
  invisible (offscreen) canvas.

I just want to check a few things:

1. Each document has its own scripting context, right?  Is there any way
   for script in one document to access anything from another document's
   scripting context?

2. Does script running in these different contexts run in a single
   thread, or does each resource document have its own thread for
   running script?

3. Can script in a resource document call functions that interact with
   the user agent, such as window.alert?



  e-mail : cam (at) mcc.id.au    	icq : 26955922
     web : http://mcc.id.au/	        msn : cam-msn (at) aka.mcc.id.au
  office : +61399055779		     jabber : heycam (at) jabber.org
Received on Thursday, 7 July 2005 05:29:06 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:54:07 UTC