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

Re: [SVGMobile12] Rendering tree

From: Ola Andersson <Ola.Andersson@ikivo.com>
Date: Mon, 16 Jan 2006 16:23:55 +0100
Message-ID: <234EB4699C751A4A95DF4FD8D041BBFD05338B@SESTHSRV10.zoomon.local>
To: <www-svg@w3.org>, <tor@cs.brown.edu>

Hi Tim,
Thanks for your comment. It helped us realize that the list of elements
that are not part of the rendering tree (in 1.6) was incomplete. We have
now added 'font', 'linearGradient' and 'radialGradient' to that list.
(And added the missing ' that you spotted). The new definition of
rendering tree in 1.6 is:
===
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. 
===

Given this change we believe the language in section 11.15 is clear as
is and do not require any change. 
Please let us know within two weeks if this reply does not address your
concern.
Best regards
/The SVG WG

---

From: T Rowley <tor@cs.brown.edu>
Date: Tue, 27 Dec 2005 18:03:37 -0600
Message-ID: <43B1D659.6010201@cs.brown.edu>
To: www-svg@w3.org


Section 1.6 defines the rendering tree, in part "element whose 'display'

property is set to 'none [*** missing closing quote ***] .. and their 
children ... not part of the Rendering tree (and thus do not get
rendered)".

Section 11.15 has language for each of the gradient types saying that 
"'linearGradient' elements are availabe fro referencing even when the 
'display' property on the 'linearGradient' element or any of its 
ancestors is set to none".  Is this meant to specify that a gradient 
should still be drawn if it or an ancestor has "display: none", or that 
it should not be considered an invalid IRI when referenced per 11.2? 
Please clarify the language to make it clear which interpretation is 
intended.
Received on Monday, 16 January 2006 15:23:49 GMT

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