On 1/2/12 1:55 AM, Simon Pieters wrote:
What about:
<head>
<script src="foo.js"></script>
<meta name="referrer" content="never">
<link rel="stylesheet" href="a.css">
</head>
...and the browser speculatively fetches the stylesheet before the
<meta> element is in the DOM? Should the speculative parser have
knowledge of <meta name=referrer>?
I would say it should handle this just like it handles <base> tags,
whether that's through keeping track of it or through the speculation
failing.
Yeah. Is there some precedent we should look to here? Perhaps the
<base> element?
Perhaps this should even be an attribute on <base> -- <base referrer="...">
Note that when you have multiple <base> tags only the _first_ takes
effect, which is not the proposed behavior for <meta referrer>...
-Boris