Skip to content

Commit

Permalink
[giow] (1) Make <script async> not delay DOMContentLoaded.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.whatwg.org/webapps@4850 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Mar 16, 2010
1 parent f458e08 commit e019d1b
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 12 deletions.
12 changes: 8 additions & 4 deletions complete.html
Expand Up @@ -79536,14 +79536,17 @@ <h4 id=the-end><span class=secno>12.2.6 </span>The end</h4>

</ol></li>

<li><p><a href=#spin-the-event-loop>Spin the event loop</a> until the <a href=#list-of-scripts-that-will-execute-as-soon-as-possible>list of
scripts that will execute as soon as possible</a> is
empty.</li>

<li><p><a href=#queue-a-task>Queue a task</a> to <a href=#fire-a-simple-event>fire a simple
event</a> named <code title=event-DOMContentLoaded>DOMContentLoaded</code> at the
<code><a href=#document>Document</a></code>.</li>

<li><p><a href=#spin-the-event-loop>Spin the event loop</a> until the <a href=#list-of-scripts-that-will-execute-as-soon-as-possible>list of
scripts that will execute as soon as possible</a> is
empty.</li> <!-- this step is redundant with the next one,
really, since all those scripts also delay the load event. It's
here in case we add an event between this step and the next or if
we move the previous step (DOMContentLoaded) down again. -->

<li><p><a href=#spin-the-event-loop>Spin the event loop</a> until there is nothing that
<dfn id=delay-the-load-event title="delay the load event">delays the load event</dfn> in
the <code><a href=#document>Document</a></code>.</li>
Expand Down Expand Up @@ -90602,6 +90605,7 @@ <h3 class="no-num">Reflecting IDL attributes</h3>
Brett Zamir,
Brian Campbell,
Brian Korver,
Brian Kuhn,
Brian Ryner,
Brian Smith,
Brian Wilson,
Expand Down
12 changes: 8 additions & 4 deletions index
Expand Up @@ -72942,14 +72942,17 @@ document.body.appendChild(text);

</ol></li>

<li><p><a href=#spin-the-event-loop>Spin the event loop</a> until the <a href=#list-of-scripts-that-will-execute-as-soon-as-possible>list of
scripts that will execute as soon as possible</a> is
empty.</li>

<li><p><a href=#queue-a-task>Queue a task</a> to <a href=#fire-a-simple-event>fire a simple
event</a> named <code title=event-DOMContentLoaded>DOMContentLoaded</code> at the
<code><a href=#document>Document</a></code>.</li>

<li><p><a href=#spin-the-event-loop>Spin the event loop</a> until the <a href=#list-of-scripts-that-will-execute-as-soon-as-possible>list of
scripts that will execute as soon as possible</a> is
empty.</li> <!-- this step is redundant with the next one,
really, since all those scripts also delay the load event. It's
here in case we add an event between this step and the next or if
we move the previous step (DOMContentLoaded) down again. -->

<li><p><a href=#spin-the-event-loop>Spin the event loop</a> until there is nothing that
<dfn id=delay-the-load-event title="delay the load event">delays the load event</dfn> in
the <code><a href=#document>Document</a></code>.</li>
Expand Down Expand Up @@ -84163,6 +84166,7 @@ interface <a href=#htmldocument>HTMLDocument</a> {
Brett Zamir,
Brian Campbell,
Brian Korver,
Brian Kuhn,
Brian Ryner,
Brian Smith,
Brian Wilson,
Expand Down
12 changes: 8 additions & 4 deletions source
Expand Up @@ -90709,15 +90709,18 @@ document.body.appendChild(text);

</li>

<li><p><span>Spin the event loop</span> until the <span>list of
scripts that will execute as soon as possible</span> is
empty.</p></li>

<li><p><span>Queue a task</span> to <span>fire a simple
event</span> named <code
title="event-DOMContentLoaded">DOMContentLoaded</code> at the
<code>Document</code>.</p></li>

<li><p><span>Spin the event loop</span> until the <span>list of
scripts that will execute as soon as possible</span> is
empty.</p></li> <!-- this step is redundant with the next one,
really, since all those scripts also delay the load event. It's
here in case we add an event between this step and the next or if
we move the previous step (DOMContentLoaded) down again. -->

<li><p><span>Spin the event loop</span> until there is nothing that
<dfn title="delay the load event">delays the load event</dfn> in
the <code>Document</code>.</p></li>
Expand Down Expand Up @@ -101525,6 +101528,7 @@ interface <span>HTMLDocument</span> {
Brett Zamir,
Brian Campbell,
Brian Korver,
Brian Kuhn,
Brian Ryner,
Brian Smith,
Brian Wilson,
Expand Down

0 comments on commit e019d1b

Please sign in to comment.