FWIW: Currently, template tags nested in svg are SVGElement, and not HTMLTemplate Element. You also need to hide the SVG container or it will be rendered. On Mar 12, 2015 8:18 AM, "Anne van Kesteren" <ann...@annevk.nl> wrote:
> On Thu, Mar 12, 2015 at 3:57 PM, Ryosuke Niwa <rn...@apple.com> wrote: > > By special casing, do you mean to recognize SVG element names? > > Yeah, not really sure there's another way of doing it. (You can of > course put things within <svg>, but then you could also put <tbody> in > <table>...) > > > > I'd prefer allowing template elements inside SVG as in: > > <svg><template>~</template></svg> > > Would that create an HTMLTemplateElement with a different parser mode? > > > -- > https://annevankesteren.nl/ >