Re: [SVGMobile12] Rendering tree

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 UTC