[whatwg] <base> versus xml:base

Anne van Kesteren annevk at opera.com
Wed Mar 14 02:17:48 PDT 2007


On Tue, 13 Mar 2007 19:15:12 +0100, Asbjørn Ulsberg  
<asbjorn at tigerstaden.no> wrote:
>> They don't conflict. They are both applied. <base> is the document's  
>> base URI, and xml:base is the base URI of the element it is applied on.
>
> What about:
>
>    <base href="http://www.example.org/" xml:base="/bar" />

I suppose xml:base="" should affect href="". That would make it consistent  
with

   <img src="..." xml:base="..."/>

at least. Interesting sample.


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>



More information about the whatwg mailing list