RE: [SVGMobile12] Rendering tree

> -----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 UTC