[whatwg] <base> versus xml:base

Keryx Web webmaster at keryx.se
Fri Mar 2 11:25:51 PST 2007

Anne van Kesteren skrev:
> I think <base> should also be allowed in XML documents. It simplifies 
> the language, it already needs to be supported and <base> is able to set 
> Document.baseURI where xml:base can at most set 
> Document.documentElement.baseURI. (Document.baseURI influences how 
> XMLHttpRequest works for instance.)
> The <base> element section should probably also talk about what happens 
> when you modify the .href attribute.

And today the base element already works in at least FFox and Opera also 
when content is sent as true XHTML 1.0, so this would not really change 
anything but the spec.

Lars Gunther

More information about the whatwg mailing list