Currently, I am developing a CSS concatenator and one of the tasks involved is URL to absolute URL rewriting.
For this process, I exclude any absolute URLs that start with http, https, etc. In the case of Django projects, they designate the following URL formats to be ignored:
body {
background: url("#foobar");
background: url("http:foobar");
background: url("https:foobar");
background: url("data:foobar");
background: url("//foobar");
}
Here you can find an example file of ignored URL formats in Django projects.
I have come across all of these except for the background: url("#foobar");
format.
This specific format is also used in their test cases as seen below:
div {
behavior: url("#default#VML");
}
Check out this link for more examples of URL definitions in Django projects.
What exactly does "url('#foobar')" refer to? Is it standard CSS syntax, or maybe some kind of MSIE hack?