Re: [whatwg] Script preloading

2013-07-13 Thread Andy Davies
On 12 July 2013 01:25, Bruno Racineux br...@hexanet.net wrote: On browser preloading: There seems to an inherent conflict between 'indiscriminate' Pre-parsers/ PreloadScanner and responsive design for mobile. Responsive designs mostly implies that everything needed for a full screen desktop

Re: [whatwg] Script preloading

2013-07-12 Thread Andy Davies
On 9 July 2013 20:39, Ian Hickson i...@hixie.ch wrote: A topic that regularly comes up is script loading. I sent an e-mail responding to related feedback last year, though it didn't get any replies to the script loading parts of it:

[whatwg] Safari, Opera and Navigation Timing API

2012-08-29 Thread Andy Davies
Anyone know when Safari and Opera are likely to support the Navigation Timing API? http://www.w3.org/TR/navigation-timing/ Being able to measure actual page load times in the browser is really important if we want to improve the end-users' experience in the real world. Yes we can hack around the

Re: [whatwg] input type=barcode?

2012-08-27 Thread Andy Davies
On 27 August 2012 20:25, Tab Atkins Jr. jackalm...@gmail.com wrote: On Mon, Aug 27, 2012 at 10:56 AM, Ian Hickson i...@hixie.ch wrote: True, so this is perhaps closer to an IME hint, as has been suggested for a couple of other input types. Do you mean something like inputmode=barcode? Can

Re: [whatwg] Features for responsive Web design

2012-08-10 Thread Andy Davies
On 9 August 2012 17:01, Tab Atkins Jr. jackalm...@gmail.com wrote: On Thu, Aug 9, 2012 at 1:16 AM, Andy Davies dajdav...@gmail.com wrote: Would also like to see if there's a way of using srcset to hint to the UA that it can skip the image under low throughput conditions e.g. GPRS. Same would

Re: [whatwg] Features for responsive Web design

2012-08-09 Thread Andy Davies
On 8 August 2012 17:44, Edward O'Connor eocon...@apple.com wrote: Hi Markus, You wrote: Anyway, with your proposal, would this be valid, to address the bandwidth-only use case?: img src=normal.jpg alt= srcset=high.jpg 2x, normal.jpg 1x You don't need the , normal.jpg 1x because src= has

Re: [whatwg] Media queries, viewport dimensions, srcset and picture

2012-07-02 Thread Andy Davies
In Scott Jehl's latest example of a responsive image polyfill (https://github.com/scottjehl/picturefill), he produced a variation that allows a non-retinae image to be downloaded by default with the user having the ability to then choose the download the retina version of image if then wanted.

Re: [whatwg] Proposal for change in recommendation for loading behavior of non-applicable stylesheets

2012-06-20 Thread Andy Davies
Doesn't this section of the HTML spec already allow for what Scott wants: 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

[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 Andy Davies
to only try to obtain such resources when they are needed, instead of pro-actively fetching all the external resources that are not applied. On 16 June 2012 15:46, Tab Atkins Jr. jackalm...@gmail.com wrote: On Sat, Jun 16, 2012 at 1:23 AM, Andy Davies dajdav...@gmail.com wrote: I'm under

Re: [whatwg] Media queries, viewport dimensions, srcset and picture

2012-05-22 Thread Andy Davies
On 22 May 2012 10:43, Anne van Kesteren ann...@annevk.nl wrote: On Tue, May 22, 2012 at 10:21 AM, Markus Ernst derer...@gmx.ch wrote: I am somehow surprised that there are no reactions to this proposal. To me as a humble author it looks like it would address the main issue of both picture and

Re: [whatwg] Features for responsive Web design

2012-05-18 Thread Andy Davies
On 18 May 2012 15:28, Glenn Maynard gl...@zewt.org wrote: Only if there are actual problems solved by doing so, which there don't seem to be.  Instead, people seem to be hunting for excuses to use parts of the other proposal just for the sake of using them, not to solve any actual problem.  

Re: [whatwg] Bandwidth media queries

2012-05-17 Thread Andy Davies
Hi Matt, You really want to know what the throughput is rather than just the bandwidth and throughput is a bit of a PITA to work out in web conditions... Throughput is a mixture of available TCP connection time, bandwidth, latency and packet loss, etc. In theory you could measure it from the

Re: [whatwg] Defaulting new image solution to 192dpi

2012-05-17 Thread Andy Davies
On 17 May 2012 13:05, Kornel Lesiński kor...@geekhood.net wrote: On Thu, 17 May 2012 12:52:47 +0100, Andy Davies dajdav...@gmail.com wrote: My suggestion is that the srcset (or picture) should assume that images are 2x scale by default. Doesn't this makes the assumption that pixel density

Re: [whatwg] Defaulting new image solution to 192dpi

2012-05-17 Thread Andy Davies
On 17 May 2012 14:19, Kornel Lesiński kor...@geekhood.net wrote: On Thu, 17 May 2012 13:47:12 +0100, Andy Davies dajdav...@gmail.com wrote: srcset can be used to offer alternatives for higher or lower DPI, and/or larger or smaller viewports so I'm still not convinced that an assumption

[whatwg] So if media-queries aren't for determining the media to be used what are they for?

2012-05-15 Thread Andy Davies
Looking at the srcset proposal it appears to be recreating aspects of media-queries in a terse less obvious form... img src=face-600-200 at 1.jpeg alt= srcset=face-600-200 at 1.jpeg 600w 200h 1x, face-600-200 at 2.jpeg 600w 200h 2x, face-icon.png