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

Re: [svg-developers] Is the <g> element redundant in SVG?

From: Blaine Brodie <bbrodie@savagesoftware.com>
Date: Wed, 10 Jan 2001 17:26:43 -0800
Message-id: <fc.0085846d000264313b9aca00221e3aa6.26432@savagesoftware.com>
To: www-svg@w3.org, svg-developers@egroups.com
>I wonder if someone can help me. I am trying to figure out what purpose
><g> element serves in SVG 1.0.
>I am not asking how to use it. That I understand. At least I think I do.
>But why is the <g> element there at all? Since the <svg> element can be 
>nested and implicitly groups elements nested within it what is the unique 
>value that the <g> element adds?
>Am I missing some obvious unique aspect of the <g> element? Or could it 
>simply be deleted from SVG 1.0 with no loss and nested <svg> elements
>the same purpose?
The <g> element can be used to apply transformations to its children, but
<svg> can not.

	<g transform="rotate(45)"> ...

	<svg transform="rotate(45)">...
Received on Wednesday, 10 January 2001 20:27:03 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:46:49 UTC