To elaborate on Bjoern's comments, if script elements point to external
JavaScript, then the timing of the HTTP requests to pull down the various
JavaScript files is uncertain, and thus other elements in the DOM tree
might have been parsed and processed before the script logic associated
with a given script element is executed.

I assume that HTML has the same limitation as SVG in this regard. (If not,
then SVG should include whatever feature that HTML has.)

Jon

Jon Ferraiolo <[EMAIL PROTECTED]>
Web Architect, Emerging Technologies
IBM, Menlo Park, CA
Mobile: +1-650-926-5865



                                                                           
             Bjoern Hoehrmann                                              
             <[EMAIL PROTECTED]                                             
             t>                                                         To 
             Sent by:                  [email protected]      
             [EMAIL PROTECTED]                                          cc 
             hoogroups.com                                                 
                                                                   Subject 
                                       Re: [svg-developers] Re: SVG Logo   
             12/21/2006 11:56          Contest                             
             AM                                                            
                                                                           
                                                                           
             Please respond to                                             
             [EMAIL PROTECTED]                                             
               hoogroups.com                                               
                                                                           
                                                                           




* Jeff Schiller wrote:
>Another question to anyone out there:  I don't see any way from within
>JavaScript to determine the SVGScriptElement
>(http://www.w3.org/TR/SVG11/script.html#InterfaceSVGScriptElement)
>that contains the current statements being executed.  That's kind of
>funny because in order for the script to be executing it must be
>included in the DOM, right?  The script doesn't have any idea which
>DOM element contains itself.

There is no way. The only possible way would be to get the last element
in document order during progressive load. Since SVG 1.1 does not define
the exact processing in this case, and scripts might be run at other
points in time this is genuinely impossible without additional features.
--
Björn Höhrmann · mailto:[EMAIL PROTECTED] · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/


-----
To unsubscribe send a message to:
[EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my
membership"
----
Yahoo! Groups Links





[Non-text portions of this message have been removed]



-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
---- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/svg-developers/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to