W3C home > Mailing lists > Public > public-html@w3.org > March 2010

Re: Default value of "preload" attribute

From: Robert O'Callahan <robert@ocallahan.org>
Date: Thu, 25 Mar 2010 14:15:00 +1300
Message-ID: <11e306601003241815h4c35f860v3609af1875a31b43@mail.gmail.com>
To: Ian Hickson <ian@hixie.ch>
Cc: public-html <public-html@w3.org>
On Thu, Mar 25, 2010 at 12:51 PM, Ian Hickson <ian@hixie.ch> wrote:

> On Thu, 25 Mar 2010, Robert O'Callahan wrote:
> > The default value of "preload" is currently "auto".
>
> Actually the spec says the default is UA-defined. "auto" is only a
> suggestion.
>

Indeed, thanks.

I actually think that leaving the missing value default up to the UA is a
mistake. The difference between "auto" and "metadata" for user experience is
often going to be significant. I wonder if other implementors actually want
their missing value default to be "auto"?

One more thing ... the resource fetch algorithm says that when
preload="metadata" UAs should stop loading after the first frame
(HAVE_CURRENT_DATA). Shouldn't that value be named "firstframe" (or
something else) then? It's pretty confusing to have preload="metadata" not
stop after the metadata has loaded.

Rob
-- 
"He was pierced for our transgressions, he was crushed for our iniquities;
the punishment that brought us peace was upon him, and by his wounds we are
healed. We all, like sheep, have gone astray, each of us has turned to his
own way; and the LORD has laid on him the iniquity of us all." [Isaiah
53:5-6]
Received on Thursday, 25 March 2010 01:21:51 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:16:00 UTC