James Graham wrote: > Quoting Tony Ross <tross@microsoft.com>: > >> Examples: >> 1. Implicit namespaces for HTML, SVG, and MathML are generated by the >> current HTML 5 parsing algorithm. > > That's a bug not a feature. Or rather it is an undesirable consequence > of the way that SVG and MathML have been grandfathered into the > language. I expect authors to be pretty confused that they can write > <svg><circle></circle></svg> (plus some attributes) and see a circle but > doing > > var svg = document.createElement("svg"); > var circle = document.createElement("circle") > //set some attributes for radius and position here > svg.appendChild(circle) > document.body.appendChild(circle) > > won't have the same effect Sounds like <svg><circle></circle></svg> should then not create elements in the SVG namespace, and xmlns:* would be required? Sounds good to me. > ... Do you also consider HTML elements being placed into a namespace a bug? BR, JulianReceived on Tuesday, 20 October 2009 19:31:27 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 24 March 2011 00:23:00 GMT