W3C home > Mailing lists > Public > public-svg-wg@w3.org > January to March 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: Fri, 27 Mar 2009 17:35:22 +1100
To: public-svg-wg@w3.org
Message-ID: <20090327063522.GE12392@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>.

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>?

-- 
Cameron McCormack ≝ http://mcc.id.au/
Received on Friday, 27 March 2009 06:36:00 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 27 March 2009 06:36:04 GMT