Re: Monkeypatching document.createElement() is wrong

On Tue, Feb 12, 2013 at 5:06 PM, Dimitri Glazkov <dglazkov@chromium.org> wrote:
> By the wrongness, do you mean the running shadow tree instantiation and
> element finalization steps? If so, they are workarounds for our inability to
> define an author-defined constructor.

Yes.


> There's a nice thread that tries to enable this and eliminate these extra
> steps, but from what I understand, there's a monkey wrench thrown by
> inability of current JS engines to accommodate the proposed design:
> http://lists.w3.org/Archives/Public/public-webapps/2013JanMar/thread.html#msg250

Given all the other plumbing that's required to get web components
working and ES6 requires said design to work, I'd think that waiting a
little longer to do the right thing is acceptable.


-- 
http://annevankesteren.nl/

Received on Tuesday, 12 February 2013 17:13:43 UTC