[svg-developers] SVG script onload event broken for Webkit?

2011-03-27 Thread Jacob Beard
Hi, I'm trying to get the excellent RequireJS http://requirejs.org/ script loader library to work in the context of pure SVG documents. I have this working in Firefox and Opera, but stable and nightly Chromium builds on Ubuntu 10.04 are failing to fire onload events at appropriate times: onload

[svg-developers] Re: SVG script onload event broken for Webkit?

2011-03-27 Thread Jacob Beard
Hi, I figured out what was wrong. I took a look at SVGScriptElement.cpp in the Webkit source, and in the method insertedIntoDocument, I found this snippet: // Eventually send SVGLoad event now for the dynamically inserted script element if (!externalResourcesRequiredBaseValue()) {