Re: [WSG] all media queries in one style sheet Vs individually served

2010-11-12 Thread David Hucklesby
On 11/11/10 4:57 AM, G.Sørtun wrote: Years since I tested what browsers actually did, and much has changed since then. I do prefer to spread styles in logical groups over a few stylesheets, to a certain degree. If nothing else it helps on maintenance and reuse. 1. Will the desktop browser

Re: [WSG] all media queries in one style sheet Vs individually served

2010-11-12 Thread tee
Thanks both. A browser will load everything, as long as it supports, or pretends to support, the link or @import media and queries used. It will put styles to use as needed and supported. Need a clarification: The way browsers treating @import isn't the same as @media correct? If yes, it

Re: [WSG] all media queries in one style sheet Vs individually served

2010-11-12 Thread G.Sørtun
The way browsers treating @import isn't the same as @media correct? As mentioned; I haven't tested actual browser-behavior for a long time, but @media and @import are, or should be, handled pretty much the same way by browsers. Either a particular browser supports the media and loads and/or

Re: [WSG] all media queries in one style sheet Vs individually served

2010-11-11 Thread G.Sørtun
Years since I tested what browsers actually did, and much has changed since then. I do prefer to spread styles in logical groups over a few stylesheets, to a certain degree. If nothing else it helps on maintenance and reuse. 1. Will the desktop browser stops loading the above 3 media

[WSG] all media queries in one style sheet Vs individually served

2010-11-10 Thread tee
I fully understand the need to reducing extra HTTP requests, however as the main style sheet gets fatter and fatter with different media queries stuff in it I am starting to doubt the benefit of reducing HTTP requests in this manner. Say, in the main style sheet I serve @media print @media