W3C home > Mailing lists > Public > www-svg@w3.org > January 2006

Re: [SVGMobile12] Rendering tree

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Thu, 19 Jan 2006 13:54:14 +0100
To: www-svg@w3.org
Message-ID: <pr0vs1tao4mbhui7u7o3sgj49kdfmd5ta9@hive.bjoern.hoehrmann.de>

* Anne van Kesteren wrote:
>> The referenced subtree is considered in isolation for all purposes of
>> SVG processing (style inheritance, event lister invocation, etc), so
>> while you can set styles on ancestors of the referenced subtree, it
>> won't have an effect on the instance tree.
>Also not if these are properties that are inherited?

It does not matter where in the tree the corresponding element for any
element instance is.

>How about rect:hover { fill:lime } ? Or selectors that depend on the context
>like circle + rect { fill:lime } ? Are the styles mapped at some point 
>(which?) to the element they are applied to and then "copied" to the isolated 
>sub-tree of the <use> element?

I would say processing of specified styles is equivalent to processing
of event listeners, and it's also defined in SVG 1.1. I would say this
makes processing of :hover when hovering real elements well-defined;
processing of :hover when hovering instances is probably not well-
defined; I would suggest to file an issue with the SVG Working Group.
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 
Received on Thursday, 19 January 2006 12:53:51 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:47:06 UTC