I'm also curios why DOM mutation is a problem.
I read arguments like using the nodes as a key in a Map but such code is
already broken as a node can also be replaced with some user code; so such
code should put into account the node replacement.
I also don't understand how the two-tier
On Wed, Jan 8, 2014 at 8:17 AM, Boris Zbarsky bzbar...@mit.edu wrote:
On 1/6/14 8:52 PM, Goktug Gokdogan wrote:
function MyCustomElement() {};
MyCustomElement.prototype = Object.create(HTMLElement.prototype);
document.appendChild(new MyCustomElement());
If this were actually
On Thu, Jan 9, 2014 at 5:41 PM, Boris Zbarsky bzbar...@mit.edu wrote:
On 1/9/14 8:39 PM, Goktug Gokdogan wrote:
Is it really part of the plans (i.e. making HTMLElement constructible)?
Ideally, yes. The main problem with making HTMLElement constructible is
this: What tag name should it use