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

Re: Minimum viable custom elements

From: Erik Arvidsson <arv@google.com>
Date: Wed, 14 Jan 2015 10:28:38 -0500
Message-ID: <CAJ8+GogL0KvRSOzrj6TYpmi3ixJfG2bj_mTVReVJO79xkmnRjg@mail.gmail.com>
To: Boris Zbarsky <bzbarsky@mit.edu>
Cc: public-webapps <public-webapps@w3.org>
On Wed, Jan 14, 2015 at 9:53 AM, Boris Zbarsky <bzbarsky@mit.edu> wrote:
> On 1/14/15 9:45 AM, Anne van Kesteren wrote:
>> * Parsing of declarative syntax invokes the registered constructor
>> synchronously.
> I would like to understand what this means, exactly.  For example, what is
> the proposed behavior of document.write() in the declarative constructor?
> This part of the proposal really worries me in terms of implementation
> complexity, for what it's worth.

I don't see why it has to be done synchronously? We can do what we do
it today and do it synchronously-ish, that is before any user script
(script element) is executed. That way the parser does not have to be
stalled by user script until user script would run anyway.

Received on Wednesday, 14 January 2015 15:29:34 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:14:43 UTC