https://bugzilla.wikimedia.org/show_bug.cgi?id=35562

--- Comment #6 from Krinkle <[email protected]> ---
(In reply to comment #5)
> Is this ever going to be fixed for user skin stylesheets, or do we just have
> to
> put all @imports in the common.css now?

The notion of "now" is incorrect. Even before ResourceLoader, before Gadgets,
before all of that, the user skin scripts/stylesheets were loaded together in 1
request. Which means it has always been risky to use @import because if there
are any stylesheets prepended before the one @import is used in, it would break
(because CSS only supports @import at the top of the stylesheet).

This hasn't regressed, it never worked in the first place (for almost 10 years
I'd say).

I'd recommend avoiding use of @import in the first place, for it is
inefficient. Try using modules where possible. If this is a user-specific
script, you can use importStylesheetURI instead which serves the same purpose
and works from any user script (regardless of concatenation order). It isn't
pretty, but it works and should help you in the mean time.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to