[whatwg] Issues concerning the <base> element and xml:base

On Fri, 16 Jan 2009 05:15:41 +0100, Ian Hickson <ian at hixie.ch> wrote:
> For external resource links created with the <link> element, the URL is
> resolved when the resource is fetched, which can be delayed if the
> resource doesn't apply yet (e.g. because a media query doesn't yet  
> match).
> This could lead to situations where different user agents had compliant
> behavior, unfortunately, but this is one case where I can't see how to
> avoid it without requiring suboptimal behavior.

You have the same scenario for inline <style> elements that are either in  
alternate state or are of a medium that currently does not apply to the  
document. The user agent is not required to parse those CSS blocks  
directly, I believe.


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>

Received on Friday, 16 January 2009 02:19:23 UTC