Re: template namespace attribute proposal

On Thu, Mar 12, 2015 at 8:24 PM, Adam Klein <adamk@chromium.org> wrote:
> Is your thinking that adding special-casing for SVG-"looking" (as in, tag
> names appearing in the list of SVG tags but not in the list of HTML tags)
> inside <template> has fewer compat risks than a wholesale change of the HTML
> parser to recognize SVG-looking tags anywhere?

It was more principled, not sure about compatibility. Most of the HTML
parser depends on modes. Then requiring <svg> makes sense. Just like
it "makes sense" to require <table> for <td> not to be dropped.
However, <template> was designed to work with any element,
irrespective of mode. So <td> should work without <table> anywhere.
Following that logic, it would make sense if <circle> worked without
<svg> anywhere.


-- 
https://annevankesteren.nl/

Received on Thursday, 12 March 2015 21:09:21 UTC