That is true, but script elements generated via the DOM are not inline
script elements, and the DOM is the only thing that frameworks deal
with. They may feature an HTML-like syntax, like with Angular and
Ember, but they still build nodes via
`document.createElement(tagName)` and/or clone them via
`elem.cloneNode(true)`, and they can't tell the browsers to *not*
schedule an async task for things the spec requires them to. (So in
other words, I didn't take into account HTML semantics outside the
DOM, because they don't apply to the use case I was stating.)
-----

Isiah Meadows
m...@isiahmeadows.com

Looking for web consulting? Or a new website?
Send me an email and we can get started.
www.isiahmeadows.com


On Sat, Jan 27, 2018 at 12:34 PM, Boris Zbarsky <bzbar...@mit.edu> wrote:
> On 1/26/18 11:37 PM, Isiah Meadows wrote:
>>
>> 3. Script elements execute async
>
>
> Not in the inline script case, they don't.
>
> -Boris
_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to