Reputation: 2644
I am building a tool to minify and compile CSS files on-demand. The files can be in different folders, and I need them to be called from their original folder if they are referring to an external file (image, other css, font maybe?).
I wonder which strings I should look for. I only see url(
and @import
, but am pretty sure I am missing some.
Upvotes: 0
Views: 68
Reputation: 22161
I can think of proprietary CSS: behavior
which loads .htc
(.js
on some servers) for that browser. Also exists as -ms-behavior
.
EDIT: oops, behavior
will use url()
too, not behavior()
as I previously wrote... My mistake. Ex:
.ie67 * {
behavior: url('htc/boxsizing.htc');
}
I don't think that filter
/ -ms-filter
can load an external resource; it'll rather apply to images and such (somebody correct me if I'm wrong).
In CSS2.1, external resources are URIs so except @import (that must appear before anything else), I think your list is complete.
Upvotes: 3