ResourceLoader uses CSSMin::remap, which *should* work with double, single or non quoted URLs. There may be some strange syntax that it's tripping over though...
- Trevor On 11/9/10 12:53 AM, Maciej Jaros wrote: > @2010-11-09 05:51, Jeroen De Dauw: >> Hey, >> >> Thanks again for the quick reply. >> >> The image paths appear to be correct when I view the file via that url. What >> I'm seeing when I load an OpenLayers map is that some of the controls that >> consist out of images get displayed as "firefox image not found" images, and >> then disappear from the map. I asked about this on the OpenLayers IRC and >> people there agreed it was most likely a CSS issue. So anyone an idea what >> might be going wrong here? > Background images in CSS files have paths relative to the CSS files. As > Trevor said, those paths should be changed by RL, but probably something > went wrong. To check to what path CSS points you can use Firebug (and > point element with the image) or you can right click on the image and > choose to copy image path (background image path in this case I guess). > You might use non-relative paths (full URLs) to circumvent the problem. > > Taking a wild guess here the problem might be because RL does not expect > quotes around URL path. More URL variants here: > http://www.w3.org/TR/CSS2/syndata.html#value-def-uri > > Best, > Nux. > > _______________________________________________ > Wikitech-l mailing list > [email protected] > https://lists.wikimedia.org/mailman/listinfo/wikitech-l _______________________________________________ Wikitech-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikitech-l
