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/


Reply via email to