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

[whatwg] WA1: <base>

From: fantasai <fantasai.lists@inkedblade.net>
Date: Sat, 03 Sep 2005 13:02:46 -0400
Message-ID: <4319D736.6090909@inkedblade.net>
# The href content attribute, if specified, must contain a URI (or IRI).

Can the href attribute be empty?

# 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

# 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.

Received on Saturday, 3 September 2005 10:02:46 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:23 UTC