W3C home > Mailing lists > Public > public-svg-wg@w3.org > April to June 2009

Definition of "container element" in SVG 1.1

From: Cameron McCormack <cam@mcc.id.au>
Date: Mon, 20 Apr 2009 14:55:00 +1000
To: public-svg-wg@w3.org
Message-ID: <20090420045500.GD15070@arc.mcc.id.au>
I don’t think the set of elements in the “container element” definition
in SVG 1.1 is right.  It currently says:

  An element which can have graphics elements and other container
  elements as child elements. Specifically: 'svg', 'g', 'defs'
  'symbol', 'clipPath', 'mask', 'pattern', 'marker', 'a' and 'switch'.

First, <clipPath> cannot contain just any graphics or container element;
it only allows basic shapes, <path>, <text> and <use>.  So I think it
should be removed.

Second, both <glyph> and <missingGlyph> have the same content model as
<g>, so I think they should be added.

-- 
Cameron McCormack ≝ http://mcc.id.au/
Received on Monday, 20 April 2009 04:55:37 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 20 April 2009 04:55:37 GMT