Re: [integrity]: CSS-loaded resources.

On Tue, Jan 14, 2014 at 12:39 AM, Tab Atkins <tabatkins@google.com> wrote:

> fetch() works too!
>
> fetch( <string-or-url> <fetch-metadata>#? )
> <fetch-metadata> = integrity <string> | (more later)
>
> So like:
>
> .foo {
>   background-image: fetch('http://example.com/img.png' integrity
> 'ni:///sha256...');
> }
>
> Then we can add things like "cors" or "anonymous" or whatever to the
> <fetch-metadata> term, etc.
>

Great! Sold!

Would you prefer to add the definition of `fetch()` to one of the zillion
specs you're responsible for, and for this document to extend the
'<fetch-metadata>' list? Or would you prefer for this spec to define the
whole thing?

I'd lean towards the former, but I'm happy to take a stab at the latter if
you like.

-mike

Received on Thursday, 16 January 2014 12:13:25 UTC