W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2015

Re: template namespace attribute proposal

From: Benjamin Lesh <blesh@netflix.com>
Date: Thu, 12 Mar 2015 08:56:16 -0700
Message-ID: <CADcN1GD3bpmFo4WG1FwDmCWsVpLjDu_fo5iKoiCY+m7MVo8Zhg@mail.gmail.com>
To: Anne van Kesteren <annevk@annevk.nl>
Cc: public-webapps@w3.org, Ryosuke Niwa <rniwa@apple.com>, Robin Berjon <robin@w3.org>
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" <annevk@annevk.nl> wrote:

> On Thu, Mar 12, 2015 at 3:57 PM, Ryosuke Niwa <rniwa@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/
>
Received on Thursday, 12 March 2015 15:56:47 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:27:26 UTC