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

RE: [SVGMobile12] Rendering tree

From: Ola Andersson <Ola.Andersson@ikivo.com>
Date: Tue, 17 Jan 2006 13:32:11 +0100
Message-ID: <234EB4699C751A4A95DF4FD8D041BBFD05338D@SESTHSRV10.zoomon.local>
To: "Anne van Kesteren" <fora@annevankesteren.nl>
Cc: <www-svg@w3.org>



> -----Original Message-----
> From: Anne van Kesteren [mailto:fora@annevankesteren.nl]
> Sent: den 17 januari 2006 11:15
> To: Ola Andersson
> Cc: www-svg@w3.org
> Subject: RE: [SVGMobile12] Rendering tree
> 
> 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?

Correct, as long as display='none' it will not be drawn.

> 
> 
> --
> Anne van Kesteren
> <http://annevankesteren.nl/>
Received on Tuesday, 17 January 2006 12:31:58 GMT

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