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

Re: ISSUE-2253 (foreignobject-context): <foreignObject>s should be allowed as children of container elements [SVG Full 1.1]

From: Cameron McCormack <cam@mcc.id.au>
Date: Mon, 20 Apr 2009 14:58:53 +1000
To: public-svg-wg@w3.org
Message-ID: <20090420045853.GE15070@arc.mcc.id.au>
SVG Working Group Issue Tracker:
> > In SVG 1.1, the DTD requires that <foreignObject> elements only be
> > used as children of a <switch>. In SVG Tiny 1.2, a <foreignObject>
> > can be a child of a container element. Should we create an erratum to
> > loosen this in 1.1? You can, after all, use conditional attributes on
> > elements that are not children of a <switch>.

Cameron McCormack:
> Sort of related: the SVG 1.1 DTD also does not allow a <switch> to be a
> child of a <switch>.  Since a <switch> is just a container that
> selectively chooses which child to render, and can itself have
> conditional attributes on it, why shouldn’t it be allowed to be the
> child of another <switch>?

I’ve added the erratum for ACTION-2512:

  http://dev.w3.org/SVG/profiles/1.1F2/errata/errata.html#allow-foreignobject-outside-switch

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

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