W3C home > Mailing lists > Public > www-svg@w3.org > September 2003

Re: instanceRoot on svg USE element

From: Dean Jackson <dean@w3.org>
Date: Tue, 9 Sep 2003 16:26:41 +1000
Cc: www-svg@w3.org
To: "Jim Ley" <jim@jibbering.com>
Message-Id: <932C40A4-E28E-11D7-85F1-000393B3CA5E@w3.org>

Hi Jim,

On Friday, Sep 5, 2003, at 00:45 Australia/Canberra, Jim Ley wrote:
> Since we have so little implementation experience, and no released
> implementations that I know of, of instanceRoot on the USE element, 
> would it
> not be a good idea to unify this with the shadowTree mechanism of RCC,
> basically having USE have a shadowTree attribute the same as non SVG
> namespaced elements.
> This would allow us to have a smaller number of methods to get between
> shadow trees and the real trees so are code can be more generic.

In the case of <use> it isn't really a shadow tree, it is a shared
instance. If you go to the instance root and change something, then
it will change for all references, whereas a shadow tree will only
change that particular copy. So, I think it is a good idea to
keep it under a different name to avoid confusion.

Received on Tuesday, 9 September 2003 02:26:38 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:46:57 UTC