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.

-Boris
Received on Sunday, 3 June 2007 19:19:39 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:00 GMT