[whatwg] 5.7.6 The application cache selection algorithm

Ian Hickson ian at hixie.ch
Wed Jan 28 17:49:12 PST 2009


On Wed, 28 Jan 2009, Michael Nordman wrote:
>
> Just need a clarification...
> 
> * If the flag document-is-markup is true, and document was loaded from
> an application cache, and there is no manifest URL
> * If the flag document-is-markup is true, If document was loaded from
> an application cache, and the URL of the manifest of that cache's
> application cache group is not the same as manifest URL.
>      Mark the entry for the resource from which document was taken in
> the application cache from which it was loaded as foreign.
> 
> What is the intent? If the first or second condition is met, then mark 
> as foreign. Or is a then clause missing from the first condition?

When there are two entries like this with a single set of steps below 
them, it means that both of those conditions should lead to the steps 
being run. (The spec uses a <dl> construct for this, and <dl> <dt>A <dt>B 
<dd>C </dl> means that C applies to both A and B.)

Note that the "document-is-markup" flag will likely go away, and be 
replaced by just checking to see if there is a manifest (as it was 
before).

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'



More information about the whatwg mailing list