W3C home > Mailing lists > Public > whatwg@whatwg.org > March 2008

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

From: Maciej Stachowiak <mjs@apple.com>
Date: Sat, 1 Mar 2008 19:53:54 -0800
Message-ID: <3A96FD87-E0F8-48EA-8BA3-B7A5B96ED848@apple.com>

On Mar 1, 2008, at 6:18 PM, L. David Baron wrote:

> On Saturday 2008-03-01 17:08 -0800, Maciej Stachowiak wrote:
>> How about requiring that the base used is the one in effect when a  
>> given
>> relative URI is resolved, and define that URIs for resource-loading
>> elements are resolved at the time the relevant attribute is set or  
>> parsed
>> (but for hyperlinks, at the time it is dereferenced). That is easy to
>
> That would make whether :link or :visited matches not correspond to
> what you get when you click on the link, which seems pretty bad.
> Hyperlinks already need to be resolved eagerly to style links
> properly.

Dynamically changing <base> is a highly unlikely edge case anyway. If  
behavior for this case really needs to be specified in detail, then I  
think efficient and readily implementable behavior in the common case  
is more important than getting this relatively small detail right for  
the hypothetical page that changes <base>. Note that there are already  
ways to make :link or :visited not match what the link actually does,  
via event handlers.

Regards,
Maciej
Received on Saturday, 1 March 2008 19:53:54 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:40 UTC