Re: [whatwg] <imgset> responsive imgs proposition (Re: The src-N proposal)

On Tue, Nov 12, 2013 at 12:29 AM, Jukka K. Korpela <jkorpela@cs.tut.fi> wrote:
> 2013-11-12 10:14, Anselm Hannemann wrote:
>> no, a preload scanner will never (okay, never say never) interpret CSS.
>> This is against the rule of it to improve performance before interpreting
>> layout.
>
> This whole thing is about scanning *something* in early phase, so if some
> rules prevent from using style sheets for something that is really a
> stylesheet matter (unless we regard it as a client/server negotiation
> issue), change the rules.

The "rule" that Anselm refers to does not exist.  We can make the
preload scanner smarter if we want to.  It's just a matter of
understanding the engineering constraints under which it operates.
Given that I wrote the preload scanner that's used in WebKit and
Blink, I have a pretty good grasp of those constraints.  :)

Adam

Received on Tuesday, 12 November 2013 08:33:01 UTC