W3C home > Mailing lists > Public > www-dom@w3.org > July to September 2013

Re: baseURI / xml:base

From: Anne van Kesteren <annevk@annevk.nl>
Date: Fri, 9 Aug 2013 14:07:27 +0100
Message-ID: <CADnb78i8FtxCZjTLNM-V102-b2+YkMaHZpt=402M1mWJTURdfg@mail.gmail.com>
To: Boris Zbarsky <bzbarsky@mit.edu>
Cc: "www-dom@w3.org" <www-dom@w3.org>
On Fri, Aug 9, 2013 at 1:59 PM, Boris Zbarsky <bzbarsky@mit.edu> wrote:
> On 8/9/13 6:52 AM, Anne van Kesteren wrote:
>> So Gecko clones the base URL of a node:
>> http://dom.spec.whatwg.org/#concept-node-base-url
>
> You mean cloning a Document gives the clone the same base url as the
> original document?  Or something else?

Cloning any node (e.g. Text or Element) will copy the baseURI.
However, nobody else does that.

I filed a bug to remove support for xml:base given it's nowhere else:
https://bugzilla.mozilla.org/show_bug.cgi?id=903372 Not entirely sure
what the right solution is for baseURI though. Especially
document.baseURI is useful.


-- 
http://annevankesteren.nl/
Received on Friday, 9 August 2013 13:07:57 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:37:03 UTC