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

RE: [SVGMobile12] Rendering tree

From: Anne van Kesteren <fora@annevankesteren.nl>
Date: Tue, 17 Jan 2006 11:14:54 +0100
Message-ID: <20060117111454.n411a348ccg044o4@webmail.annevankesteren.nl>
To: Ola Andersson <Ola.Andersson@ikivo.com>
Cc: www-svg@w3.org

Quoting Ola Andersson <Ola.Andersson@ikivo.com>:
>> I don't really understand the last sentence. What exactly happens when I
>> reference a <rect> element which has its 'display' property set to
>> 'none'? Does it matter how I set the 'display' property?
>
> The DOM tree just contains the use elements and the elements they
> reference, you don't copy the referenced element and put it as a child
> to the use.

That much was clear to me :-)


> In the rendering tree however, this is what you do. A
> referenced rect with 'none' display is not in the rendering tree, a
> visible rect is.

So if I reference a <rect> element which either has 'display:none' set or some
ancestor has 'display:none' set it will never be drawn?


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
Received on Tuesday, 17 January 2006 10:15:21 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:33 GMT