>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,
- Roland