Re: baseURI / xml:base

Anne van Kesteren <[email protected]>
Newsgroups gmane.comp.web.dom.general
Message-ID <CADnb78i8FtxCZjTLNM-V102-b2+YkMaHZpt=402M1mWJTURdfg@mail.gmail.com>
On Fri, Aug 9, 2013 at 1:59 PM, Boris Zbarsky <[email protected]> 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/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.