W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2013

Re: Monkeypatching document.createElement() is wrong

From: Anne van Kesteren <annevk@annevk.nl>
Date: Tue, 12 Feb 2013 17:13:13 +0000
Message-ID: <CADnb78jt-thVOOxm0YEkeMJX_UnsaJVoxcLmibZ9onrQEFfWyQ@mail.gmail.com>
To: Dimitri Glazkov <dglazkov@chromium.org>
Cc: WebApps WG <public-webapps@w3.org>
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 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:57 GMT