W3C home > Mailing lists > Public > public-html@w3.org > June 2007

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

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Sun, 03 Jun 2007 14:18:54 -0500
Message-ID: <4663141E.1080709@mit.edu>
To: Henrik Dvergsdal <henrik.dvergsdal@hibo.no>
CC: public-html@w3.org

Henrik Dvergsdal wrote:
> I wonder if this restriction is really necessary. Why not deprecate 
> <base> and replace it with a "base" attribute that sets the base for an 
> element and all its children?

Just like xml:base, right?  That makes DOM mutations much more expensive -- 
every time a node is moved in the DOM, all children that have any attributes 
that are URIs have to at least check to see whether the resources need to be 
refetched.  In practice, this is computationally expensive.

Received on Sunday, 3 June 2007 19:19:39 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:15:21 UTC