Last modified: 2011-03-14 15:02:31 UTC
I noticed a regression in the CSS minification that has broken the load/save spinner from showing in SVGEdit extension...
From styles in ext.svgedit.edit.editButton.css; original source:
as minified with current trunk code:
background: url("/trunk/extensions/SVGEdit/modules//../images/ajax-loader.gif?2011-01-22T00:58:20Z") no-repeat scroll 50% 50% rgba(0, 0, 0, 0.5);
This ends up resolving to (on my localhost):
where it should instead load:
Looks like the problem is that double slash: "modules//../images" -- if it instead said "modules/../images" it should at least resolve correctly client-side.
Relative module paths used for SVGEdit's module:
$myResourceTemplate = array(
'localBasePath' => dirname( __FILE__ ) . '/modules',
'remoteExtPath' => 'SVGEdit/modules',
'group' => 'ext.svgedit',
Possible workaround: relative paths that don't need to bump into "../" territory appear to work with the double slashes, so if image and font resources are always at the same directory level or in a subdirectory of where the CSS lives, it should still work.
Fixed in r83902 by eliminating double slashes.