Ability to disable external resource fetching

When you load SVG as <img src=svg> and similar contexts it is not
allowed to load further resources as to restrict its security model to
GIF. This is also the plan for when using external SVG elements
through 'mask' or some such.

This requires changes to CSS and elements that cause the creation of
CSS style sheets. The tentative plan is to add flag to Fetch that is
"local fetches only flag" which would allow data and blob URL
resources to be fetched, but nothing over the network.

CSS style sheets would need to have some kind of style-sheet-wide
setting that enables that and ensures no networked images or @import's
are used.

And elements that create CSS style sheets would need to set that
setting on style sheets.

This ties into my earlier email
http://lists.w3.org/Archives/Public/www-style/2014Jun/0238.html about
more properly defining the CSS style sheet model.

These bugs relate to this effort:

* https://www.w3.org/Bugs/Public/show_bug.cgi?id=26144
* https://www.w3.org/Bugs/Public/show_bug.cgi?id=26114
* https://www.w3.org/Bugs/Public/show_bug.cgi?id=24055


-- 
http://annevankesteren.nl/

Received on Thursday, 19 June 2014 11:37:04 UTC