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

Re: [SVGMobile12] Rendering tree

From: Anne van Kesteren <fora@annevankesteren.nl>
Date: Mon, 16 Jan 2006 16:39:26 +0100
Message-ID: <20060116163926.fp31hqetoiz48w00@webmail.annevankesteren.nl>
To: Ola Andersson <Ola.Andersson@ikivo.com>
Cc: www-svg@w3.org, tor@cs.brown.edu

Quoting Ola Andersson <Ola.Andersson@ikivo.com>:
> ===
> The set of elements being rendered when the painters model is applied to
> an SVG document fragment. The following elements in the fragment:
>
> * a 'defs' element
> * elements whose 'display' property is set to 'none'
> * elements with one or more test attributes that evaluate to false
> * direct children of a 'switch' element, other than the child that
> evaluates to true
> * a 'font' element
> * a 'linearGradient' element
> * a 'radialGradient' element
>
> and their children, are part of the SVG document fragment, but not part
> of the Rendering tree (and thus do not get rendered). Elements with zero
> opacity, or no fill and no stroke, or with the visibility property set
> to hidden, are still in the rendering tree. The copies of elements
> referenced by a 'use' element, on the other hand, are not in the SVG
> document fragment but are in the rendering tree.
> ===

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?


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
Received on Monday, 16 January 2006 15:46:13 GMT

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