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

Re: template namespace attribute proposal

From: Anne van Kesteren <annevk@annevk.nl>
Date: Thu, 12 Mar 2015 22:08:58 +0100
Message-ID: <CADnb78jai49bt25V29RJaUpHQFwb0PkxcDDDLVRphGq83B4z-w@mail.gmail.com>
To: Adam Klein <adamk@chromium.org>
Cc: Benjamin Lesh <blesh@netflix.com>, WebApps WG <public-webapps@w3.org>
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

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