W3C home > Mailing lists > Public > www-svg@w3.org > December 2004

Re: LC Comment - Script & Progressive Rendering / Multiple Pages

From: Jim Ley <jim@jibbering.com>
Date: Wed, 1 Dec 2004 19:55:05 -0000
To: www-svg@w3.org
Message-ID: <col7ip$o70$1@sea.gmane.org>


"Boris Zbarsky" <bzbarsky@MIT.EDU> wrote in message 
news:41AE060A.8000309@mit.edu...
> This is a relatively common use case on the web, especially for working 
> around UA bugs by executing slightly different scripts based on 
> UA-sniffing or object-sniffing (though most pages use document.write() 
> instead of creating nodes via DOM, the concept is the same and 
> document.write() is not available in SVG).

Creating the script nodes highly unreliable in current user agents, it's 
inconsistent, and poorly defined.  In my experience, and in applications 
like gmail, what they use is frames, you load up an html document in a 
frame, and use cross frame scripting to transfer scripts into the single 
namespace.   This is much more reliable and consistent.

I certainly don't think it's necessary in HTML, and whilst the genie is out, 
I still think simply forbidding it in SVG is the logical approach, it's the 
simplest after all.

Jim. 
Received on Wednesday, 1 December 2004 19:55:12 GMT

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