Re: Minimum viable custom elements

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.


-- 
erik

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