Re: template namespace attribute proposal

On Thu, Mar 12, 2015 at 7:16 PM, Adam Klein <adamk@chromium.org> wrote:
> For clarity, is this significantly different from the below (which works
> today)?
>
> <template id="tmpl">
>   <svg>
>     <circle .../>
>   </svg>
> </template>
>
> Clearly there's an extra step here, in that accessing the SVG elements
> requires hopping into firstElementChild, but adding new namespace-related
> features seems unfortunate.

That was going to be my argument, but then I remembered that we went
out of our way to make <tbody>, <tr>, <td>, etc. work as direct
children of <template>.


-- 
https://annevankesteren.nl/

Received on Thursday, 12 March 2015 18:22:36 UTC