Re: @import -- allow at any place in stylesheet.

18.01.2012, 02:31, "Tab Atkins Jr." <jackalmage@gmail.com>:
> 2012/1/17 Marat Tanalin | tanalin.com <mtanalin@yandex.ru>:
>
>> š18.01.2012, 01:35, "Tab Atkins Jr." <jackalmage@gmail.com>:
>>> šStepping outside this problem, you shouldn't really be using @import
>>> šin your stylesheets anyway. šIt's bad for performance, since it makes
>>> šyour stylesheets download one-by-one instead of in parallel. šMaking
>>> š@import more powerful might encourage more use of this, which I'd
>>> špersonally prefer to avoid. šIt's better to either link in multiple
>>> šstylesheets via multiple <link> elements (so the browser can start
>>> šdownloading all of them at once), or use a preprocessor to munge the
>>> šsheets together into a single file so you can pull them all down with
>>> ša single request.
>> šAs I've already said, there are different situations: internet, intRAnet, local webpages opened from CD. Delay concern is generally applicable to former one only, but current limitation is applied forcedly and harmfully to all of them.
>
> We only really care about the web, since the vast vast majority of
> pages using our tech are web pages. šMaking choices that are bad for
> the web but offer a minor benefit to non-web usage isn't a good
> tradeoff.

Please don't speak/decide for all web-developers. They should have flexibility.

Received on Tuesday, 17 January 2012 22:35:25 UTC