cq-prolyfill.js
function fixRelativeUrls(cssText, href) {
	var base = resolveRelativeUrl(href, document.baseURI);
	return cssText.replace(URL_VALUE_REGEXP, function(match, quote, url1, url2) {
		var url = url1 || url2;
		if (!url) {
			return match;
		}
		return 'url(' + (quote || '"') + resolveRelativeUrl(url, base) + (quote || '"') + ')';
	});
}
function fixRelativeUrls(cssText, href) {
	var base = resolveRelativeUrl(href, document.baseURI);
	return cssText.replace(URL_VALUE_REGEXP, function(match, quote, url1, url2) {
		var url = url1 || url2;
		if (!url) {
			return match;
		}
		return 'url(' + (quote || '"') + resolveRelativeUrl(url, base) + (quote || '"') + ')';
	});
}
function fixRelativeUrls ( cssText , href ) { var base = resolveRelativeUrl ( href , document . baseURI ) ; return cssText . replace ( URL_VALUE_REGEXP , function ( match , quote , url1 , url2 ) { var url = url1 || url2 ; if ( ! url ) { return match ; } return 'url(' + ( quote || '"' ) + resolveRelativeUrl ( url , base ) + ( quote || '"' ) + ')' ; } ) ; }
Replace relative CSS URLs with their absolute counterpart

@param  {string} cssText
@param  {string} href    URL of the stylesheet
@return {string}
Replace relative CSS URLs with their absolute counterpart