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

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 UTC