Thread:Talk:Requests for comment/ResourceLoader CSS Extensions/Points from Bergi

Nice ideas! I'd really like to have automatic vendor-prefixing and linking on-wiki files.

How could we make them available for inline style attributes? That would mean to split the functionality in a parser and a translator part. The translator then could be used from sanitizeHTML and co.

Some things to point out at #Syntax:
 * should be standard mode. Only if you have something that need not use it you might declare a  block.
 * -mw-embed: I don't like it to be a function with urls as the argument. How about  and  ? Another possibilty would be to allow the embed-comment directly before the css value, instead of before the css property:
 * calc: I can't see any need for that. Do you want to allow the whole #expr:-syntax, or define you own math subset? The example with the 500px thing shows a need for a kind of templating system, but not for a calc-function.