Considerations:
- Normal, relative URLs feh.png
- Data URLs data:image/gif;base64,eh129ehiuehjdhsa==
- Schema-agnostic URLs //domain.com/feh.png
- Absolute URLs http://domain.com/feh.png
- Domain root relative URLs /feh.png
public static absolutize_css_urls ( $css, $css_file_url ) : mixed | string | ||
$css | string: The raw CSS -- should be read in directly from the file. | |
$css_file_url | : The URL that the file can be accessed at, for calculating paths from. | |
return | mixed | string |