On Sunday, June 6, 2010, 11:05:26 AM, Robert wrote: RL> Hi, RL> Most of the non-visible elements are inside a <g display="none"> RL> while allowed, having them in a <defs> instead is better isn't it? Should the test be changed? It makes no particular difference in practice: "Elements that are descendants of a ?defs? are not rendered directly; they are prevented from becoming part of the rendering tree just as if the ?defs? element were a ?g? element and the ?display? property were set to none." http://dev.w3.org/SVG/profiles/1.1F2/publish/struct.html#Head but yes, in theory it is a cleaner coding practice. "It is recommended that, wherever possible, referenced elements be defined inside of a ?defs? element." http://dev.w3.org/SVG/profiles/1.1F2/publish/struct.html#Head I changed the test as you suggest. -- Chris Lilley mailto:chris@w3.org Technical Director, Interaction Domain W3C Graphics Activity Lead Co-Chair, W3C Hypertext CGReceived on Monday, 7 June 2010 11:55:19 UTC
This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:47:21 UTC