W3C home > Mailing lists > Public > whatwg@whatwg.org > September 2005

[whatwg] WA1: <base>

From: Anne van Kesteren <fora@annevankesteren.nl>
Date: Sun, 04 Sep 2005 10:56:21 +0200
Message-ID: <20050904105621.okh9yzmpd1b4k080@webmail.annevankesteren.nl>
Quoting fantasai <fantasai.lists at inkedblade.net>:
> # User agents must use the value of the href attribute on the first base
> # element in the document as the document entity's base URI
> Current behavior is to use the nearest previous <base> element, be
> it prior sibling or cousin, and this is interoperably implemented in
> Mozilla and Opera. I think requiring that the first <base> apply to
> previous as well as following elements is a good idea for <head>, but
> you may need to investigate whether it is practical for <base> in
> <body>.


> # In a head element, before any elements that use relative URIs, and
> # only if there are no other base elements anywhere in the document.
> It would be simpler to just require <base> to be before any elements
> that use URIs period. It's easier to express, and there are no
> invalidation surprises if one changes an absolute URI to a relative
> one later on.

I think the current definition is better and more correct.

Anne van Kesteren
Received on Sunday, 4 September 2005 01:56:21 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:42 UTC