>From the discussion about "x-" prefixed names another question crossed my mind: Suppose an author defines a component, but doesn't register a tag name. AFAICT, at this point nothing prevents him from inserting such a new element into the DOM. E.g.: <div id="div"></div> <script> function MyNewElement() { HTMLElement.call(this); // ... } var div = document.getElementById("div"); div.appendChild(new MyNewElement()); // ... Look Ma, no Element.register() call! var text = div.innerHTML; // <- what does this return? </script> Cheers, - RolandReceived on Friday, 26 August 2011 08:17:38 GMT
This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:47 GMT