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

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

From: Anne van Kesteren <annevk@opera.com>
Date: Sat, 01 Mar 2008 13:59:58 +0100
Message-ID: <op.t7b818pz64w2qv@annevk-t60.oslo.opera.com>
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
Received on Saturday, 1 March 2008 04:59:58 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:01 UTC