Re: Minimum viable custom elements

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