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

Re: Monkeypatching document.createElement() is wrong

From: Dimitri Glazkov <dglazkov@chromium.org>
Date: Tue, 12 Feb 2013 10:09:57 -0800
Message-ID: <CADh5Ky0iP6z4cRm6XQHryZ8GPCc+0Xij8WSKKkXZoeKNCK2KGw@mail.gmail.com>
To: Anne van Kesteren <annevk@annevk.nl>
Cc: WebApps WG <public-webapps@w3.org>
On Tue, Feb 12, 2013 at 9:13 AM, Anne van Kesteren <annevk@annevk.nl> wrote:

> 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.
>

"Waiting a little bit longer" is a fine phrase, except it neither sets the
timeline nor priorities. If it's weeks, not months, I agree. Otherwise, I
would rather consider workable solutions. We've been waiting for XBL2 for
"a little bit" now :)

:DG<
Received on Tuesday, 12 February 2013 18:10:26 GMT

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