Re: template namespace attribute proposal

2015-03-16 Thread Benjamin Lesh
04 PM, Austin William Wright wrote: > > On Thu, Mar 12, 2015 at 4:20 PM, Benjamin Lesh wrote: > >> For my part, I disagree slightly with this statement. If you just drop a >> tag in a , you're going to get an HTMLUnknownElement. This is >> by design and to spec,

Re: template namespace attribute proposal

2015-03-13 Thread Benjamin Lesh
the namespaces merged. At the very least, it would immediately provide authors something they could polyfill to solve this issue. On Mar 13, 2015 1:16 PM, "Tab Atkins Jr." wrote: > On Thu, Mar 12, 2015 at 3:07 AM, Anne van Kesteren > wrote: > > On Thu, Mar 12, 2015 at 4:32 AM,

Re: template namespace attribute proposal

2015-03-12 Thread Benjamin Lesh
> So much of the rest of how SVG/MathML are handled in HTML is seamless by design. For my part, I disagree slightly with this statement. If you just drop a tag in a , you're going to get an HTMLUnknownElement. This is by design and to spec, of course. But it unfortunately means you can't clone() t

Re: template namespace attribute proposal

2015-03-12 Thread Benjamin Lesh
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" wrote: > On Thu, Mar 12, 2015 at 3:57 PM, Ryosuke Niwa wrote: > > By special casing, do you mean

template namespace attribute proposal

2015-03-12 Thread Benjamin Lesh
I'd like to propose that the tag have a namespace="" attribute that allows the user to specify namespaces such as " http://www.w3.org/2000/svg";, so that the document fragment that comes from `.content` is created properly. e.g.: http://www.w3.org/2000/svg> Likewise, should work properly