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

Re: Minimum viable custom elements

From: Anne van Kesteren <annevk@annevk.nl>
Date: Wed, 14 Jan 2015 18:31:27 +0100
Message-ID: <CADnb78gBg-+A78VKRp5_DSedTJKcv+kUJj9FHnLn6e=OWmfL5Q@mail.gmail.com>
To: Erik Arvidsson <arv@google.com>
Cc: Boris Zbarsky <bzbarsky@mit.edu>, public-webapps <public-webapps@w3.org>
On Wed, Jan 14, 2015 at 4:28 PM, Erik Arvidsson <arv@google.com> wrote:
> 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.

Could you explain how this works in more detail? E.g. what would the
processing model be for something like this (assuming a registry
entry):

  <script>
   document.write("<my-div>")
   alert(document.querySelector("my-div"))
  </script>


-- 
https://annevankesteren.nl/
Received on Wednesday, 14 January 2015 17:31:51 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:27:25 UTC