[whatwg] Spec for downloading stylesheets

2012-06-16 Thread Andy Davies
I'm under the impression that a UA has to download all stylesheets regardless of whether they will be used e.g. print, mediaquery may never match etc. I've had a crawl through the specs but can't find the behaviour specified. Is my understanding right and if so can someone point me at the

Re: [whatwg] Spec for downloading stylesheets

2012-06-16 Thread Tab Atkins Jr.
On Sat, Jun 16, 2012 at 1:23 AM, Andy Davies dajdav...@gmail.com wrote: I'm under the impression that a UA has to download all stylesheets regardless of whether they will be used e.g. print, mediaquery may never match etc. I've had a crawl through the specs but can't find the behaviour

Re: [whatwg] Spec for downloading stylesheets

2012-06-16 Thread Andy Davies
Thanks Tab, I presume it's this - http://www.whatwg.org/specs/web-apps/current-work/#the-link-element For external resources that are represented in the DOM (for example, style sheets), the DOM representation must be made available even if the resource is not applied. To obtain the resource, the