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

On Sat, 01 Mar 2008 13:29:41 +0100, Jonas Sicking <jonas at sicking.cc> wrote:
> Personally it's something I would be very reluctant to do. It would add  
> a whole lot of code for basically no benefit for web developers. I have  
> never heard of anyone that actually desired changing the base uri for  
> all or parts of a page dynamically.

Note that the new base URI would only take effect once you actually did  
something with a potentially affected object. For instance, <img> would  
not start loading a new image if the base URI changes. <img>.src =  
<img>.getAttribute("src") could start loading a new resource however if  
the base URI changed since the initial load.


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

Received on Saturday, 1 March 2008 04:59:58 UTC