[whatwg] WA1: <base>

Anne van Kesteren fora at annevankesteren.nl
Sun Sep 4 01:56:21 PDT 2005


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

<http://blogs.msdn.com/ie/archive/2005/08/29/457667.aspx>


> # 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
<http://annevankesteren.nl/>




More information about the whatwg mailing list