W3C home > Mailing lists > Public > public-html@w3.org > September 2010

Re: Hoisting <base> into <head>

From: Adam Barth <w3c@adambarth.com>
Date: Tue, 7 Sep 2010 14:30:44 -0700
Message-ID: <AANLkTikcpf4gqGsFQhBdEJL8XHG3LjizfnVL+ir7ngH6@mail.gmail.com>
To: Boris Zbarsky <bzbarsky@mit.edu>
Cc: Anne van Kesteren <annevk@opera.com>, Jonas Sicking <jonas@sicking.cc>, Henri Sivonen <hsivonen@iki.fi>, public-html <public-html@w3.org>
On Tue, Sep 7, 2010 at 2:14 PM, Boris Zbarsky <bzbarsky@mit.edu> wrote:
> On 9/7/10 5:09 PM, Anne van Kesteren wrote:
>> On Tue, 07 Sep 2010 23:03:58 +0200, Adam Barth <w3c@adambarth.com> wrote:
>>>
>>> It seems like the easiest solution is just to allow <base> elements
>>> outside of <head> to override the base URL.
>>
>> Yeah, I thought that would be better too. Just use the first <base>
>> element in the Document. That would also be more similar to how e.g.
>> <title> works and would allow for XML documents not using <head> etc.
>
> This has issues with <base> being injected into the body suddenly affecting
> where scripts load from, no?

That's also true if we hoist the element to the head.

Adam
Received on Tuesday, 7 September 2010 21:31:49 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:39:19 UTC