[dokuwiki] Re: add to wiki:devel:css explanation of url rewrite?

Burton Rosenberg writes:


I wonder whether the rewrite performed in function css_loadfile in lib/exe/css.php should be documented on wiki.devel:css.
As I understand it:


A relative URL inside a url() construct in a loaded style sheet is rewritten so that it is the correct relative location for the
designated resource when referenced externally. Generally the rewriting will assume that these URL's are relative to the
location of the style sheet containing the URL. For example, this will be assumed for plugins and for templates.


URL's inside a url() which are absolute, that is, those beginning with a slash, are not rewritten.

Would it be accurate, appropriate and helpful if I added this to wiki:devel:css?

Yes it's correct.

To everybody: There is no need to ask if you should modify the Wiki pages. Just do it. If it is inapropriate or wrong it will be fixed by others.

Andi
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: