The format of a file:// url is:
file://server/path
Sorry for the delayed response, you have me completely lost. 1) What is the meaning of the third front slash in file:///
It means the "server" is empty. So the file is a file on the local machine.
To be more clear, file urls support network paths a la the the windows \\machine\filepath syntax, so you could do:
file://machine/c|/autoexec.bat
for example, to get the autoexec.bat file off the C: drive of some other machine on your network.
2) Does this mean that it is impossible to convert an href="/test.css" to a local file system since it will always resolve to, basically, null for the server?
/test.css means the test.css file in the root directory on the same server (so on the same machine) as the original URL. With windows machines, the root directory is the one that "contains" all the drives (with the way that file URLs are mapped to the windows filesystem. The fact that this syntax was designed by Unix users shows, imo... ).
-Boris
_______________________________________________ mozilla-layout mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-layout
