Re: baseURI / xml:base

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