Re: Do we need the restrictions on the <base> element?

On Thu, 31 May 2007 08:18:27 +0200, Henrik Dvergsdal  
<henrik.dvergsdal@hibo.no> wrote:
> On 29 May 2007, at 15:36, Anne van Kesteren wrote:
>>> Why can't you calculate the baseURI dynamically as you parse the  
>>> document tree? I mean, you always encounter the start tag of parent  
>>> elements before their children, so this should be possible with a  
>>> simple stack of baseURI values.
>>
>> This would violate the specification.
>
> What specification?
>
> Why do we have to follow it?
>
> What feature of this spec is it that causes this violation?

FWIW:  
http://www.w3.org/TR/DOM-Level-3-Core/core.html#baseURIs-Considerations


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>

Received on Sunday, 3 June 2007 08:43:41 UTC