- From: Boris Zbarsky <bzbarsky@mit.edu>
- Date: Thu, 20 Jul 2006 12:08:47 -0500
- To: Andrew Emmons <aemmons@opentext.com>
- CC: Andrew Sledd <Andrew.Sledd@ikivo.com>, www-svg@w3.org
Andrew Emmons wrote: >> If a script element is modified before script execution has >> taken place (eg the xlink:href value is changed while the >> script the original xlink:href value pointed to is loading), >> what happens? > > We do not plan to standardize this since it would constrain > implementations; some are synchronous and some are asynchronous. I'm not sure what synchronous vs asynchronous has to do with this. In both, the onload event for the script would fire before script execution (as I understand the WG's response to my other questions); the behavior needs to be specified if that event handler changes the xlink:href value, at the very least. At that point you may as well specify this in general. > We agree that results would vary, and therefore recommend that content > authors don't do it. From what I've seen, in practice such recommendations are pointless on the web -- authors do whatever they want or even more commonly whatever their authoring tools too. Authoring tools, again from what I've seen, just target particular UAs (often the ones made by the same company as makes the authoring tool) rather than targeting a spec. I'm not raising this question for no reason; we've run into compat issues with similar situations in HTML. Please do specify the behavior and save UAs the pain of having to reverse-engineer each other. -Boris
Received on Thursday, 20 July 2006 17:09:08 UTC