- From: Cameron McCormack <cam@mcc.id.au>
- Date: Fri, 7 Apr 2006 10:07:24 +1000
- To: "Web APIs WG (public)" <public-webapi@w3.org>
Maciej Stachowiak: > I think "no" should be the right answer too. It seems unfortunate to > tie scripting to (some sense of) presentation, but you definitely > want a Window when you are running script, and not when you don't. > The definition of presentation is also loose enough that it's not > hard to claim it applies whenever you want it to, so long as you meet > all the conformance requirements for a document presented in a > browsing context. In SVG Tiny 1.2, resource documents (i.e., those loaded because of an external reference in an svg:use, xbl:import, etc.) will have script running in them.[1] Each will have its own global object, but isn't rendered in any way. The concept of a window for such documents doesn't make much sense. (What would it mean for a resource document to navigate to a new location by assigning to location.href?) The only methods of the Window interface that I can see that would make sense here are the timer-related ones. So I am not sure that the connection between script and Window is the right one. [1] http://www.w3.org/TR/SVGMobile12/linking.html#externalReferences -- Cameron McCormack ICQ: 26955922 cam (at) mcc.id.au MSN: cam (at) mcc.id.au http://mcc.id.au/ JBR: heycam (at) jabber.org
Received on Friday, 7 April 2006 00:07:35 UTC