W3C home > Mailing lists > Public > whatwg@whatwg.org > July 2013

Re: [whatwg] [URL] Resolving against the base of the current page

From: Jake Archibald <jaffathecake@gmail.com>
Date: Thu, 11 Jul 2013 16:01:44 +0100
Message-ID: <CAJ5xic_YeFDcEaiFea+-iPyqp-Q3y-Ab-nNT37ch3mDRMh4Gow@mail.gmail.com>
To: Anne van Kesteren <annevk@annevk.nl>
Cc: WHATWG <whatwg@whatwg.org>
On 11 July 2013 15:59, Anne van Kesteren <annevk@annevk.nl> wrote:
> On Thu, Jul 11, 2013 at 7:56 AM, Jake Archibald <jaffathecake@gmail.com> wrote:
>> http://url.spec.whatwg.org/
>>
>> How would I create a URL relative to the page, but taking into account
>> <base> (and anything else that may affect relative urls on the page)?
>
> document.baseURI?

I am an idiot please delete me from the internet.

Case closed.
Received on Thursday, 11 July 2013 15:02:14 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 17:00:03 UTC