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

Re: template namespace attribute proposal

From: Karl Dubost <karl@la-grange.net>
Date: Sat, 14 Mar 2015 09:41:44 +0900
Cc: Anne van Kesteren <annevk@annevk.nl>, Benjamin Lesh <blesh@netflix.com>, WebApps WG <public-webapps@w3.org>
Message-Id: <8A28EB16-A16C-4907-A0FC-61748CE100F7@la-grange.net>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
Tab,

> The only conflicts in the namespaces are <font>
> (deprecated in SVG2), <script> and <style> (harmonizing with HTML so
> there's no difference), and <a> (attempting to harmonize API surface).

*If* I didn't make any mistakes 
(I quickly did and didn't check everything.)

The intersection seems to be:
['a', 'style', 'script', 'track', 'title', 'canvas', 'source', 'video', 'iframe', 'audio', 'font']



# python
svg = ['a', 'altGlyph', 'altGlyphDef', 'altGlyphItem', 'animate', 'animateColor', 'animateMotion', 'animateTransform', 'audio', 'canvas', 'circle', 'clipPath', 'color-profile', 'cursor', 'defs', 'desc', 'discard', 'ellipse', 'feBlend', 'feColorMatrix', 'feComponentTransfer', 'feComposite', 'feConvolveMatrix', 'feDiffuseLighting', 'feDisplacementMap', 'feDistantLight', 'feDropShadow', 'feFlood', 'feFuncA', 'feFuncB', 'feFuncG', 'feFuncR', 'feGaussianBlur', 'feImage', 'feMerge', 'feMergeNode', 'feMorphology', 'feOffset', 'fePointLight', 'feSpecularLighting', 'feSpotLight', 'feTile', 'feTurbulence', 'filter', 'font', 'font-face', 'foreignObject', 'g', 'glyph', 'glyphRef', 'hatch', 'hatchPath', 'hkern', 'iframe', 'image', 'line', 'linearGradient', 'marker', 'mask', 'meshGradient', 'meshPatch', 'meshRow', 'metadata', 'missing-glyph', 'mpath', 'path', 'pattern', 'polygon', 'polyline', 'radialGradient', 'rect', 'script', 'set', 'solidColor', 'source', 'stop', 'style', 'svg', 'switch', 'symbol', 'text', 'textPath', 'title', 'track', 'tref', 'tspan', 'use', 'video', 'view', 'vkern']

html = ['a', 'abbr', 'address', 'area', 'article', 'aside', 'audio', 'b', 'base', 'bdi', 'bdo', 'blockquote', 'body', 'br', 'button', 'canvas', 'caption', 'cite', 'code', 'col', 'colgroup', 'command', 'datalist', 'dd', 'del', 'details', 'dfn', 'div', 'dl', 'dt', 'em', 'embed', 'fieldset', 'figcaption', 'figure', 'footer', 'form', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'head', 'header', 'hgroup', 'hr', 'html', 'i', 'iframe', 'img', 'input', 'ins', 'kbd', 'keygen', 'label', 'legend', 'li', 'link', 'main', 'map', 'mark', 'menu', 'meta', 'meter', 'nav', 'noscript', 'object', 'ol', 'optgroup', 'option', 'output', 'p', 'param', 'pre', 'progress', 'q', 'rp', 'rt', 'ruby', 's', 'samp', 'script', 'section', 'select', 'small', 'source', 'span', 'strong', 'style', 'sub', 'summary', 'sup', 'table', 'tbody', 'td', 'template', 'textarea', 'tfoot', 'th', 'thead', 'time', 'title', 'tr', 'track', 'u', 'ul', 'var', 'video', 'wbr']

set(html).intersection(set(svg))


-- 
Karl Dubost 🐄
http://www.la-grange.net/karl/
Received on Saturday, 14 March 2015 00:41:55 UTC

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