<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PersonName"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:blue;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-reply;
font-family:Arial;
color:navy;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=blue>
<div class=Section1>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>To me “asynchronous”
fundamentally means “doesn’t block other things from happening,”
so if async currently does block the load event from firing then that seems
very wrong to me.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<div>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>-Nicholas</span></font><font color=navy><span
style='color:navy'><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 color=navy face="Times New Roman"><span
style='font-size:12.0pt;color:navy'> <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>______________________________________________</span></font><font
color=navy><span style='color:navy'><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Commander Lock: "Damnit Morpheus, not
everyone believes what you believe!"</span></font><font color=navy><span
style='color:navy'><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Morpheus: "My beliefs do not require
them to."</span></font><o:p></o:p></p>
</div>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=2 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
whatwg-bounces@lists.whatwg.org [mailto:whatwg-bounces@lists.whatwg.org] <b><span
style='font-weight:bold'>On Behalf Of </span></b>Brian Kuhn<br>
<b><span style='font-weight:bold'>Sent:</span></b> Friday, February 12, 2010
8:03 AM<br>
<b><span style='font-weight:bold'>To:</span></b> Jonas Sicking<br>
<b><span style='font-weight:bold'>Cc:</span></b> <st1:PersonName w:st="on">Steve
Souders</st1:PersonName>; WHAT Working Group<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [whatwg] should async
scripts block the document's load event?</span></font><o:p></o:p></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Right. Async scripts aren't really asynchronous if they block all
the user-visible functionality that sites currently tie to window.onload.<o:p></o:p></span></font></p>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>I don't know if we need another attribute, or if we just need to change
the behavior for all async scripts. But I think the best time to fix this
is now; before too many UAs implement async.<o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>-Brian<o:p></o:p></span></font></p>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
</div>
<div>
<p class=MsoNormal style='margin-bottom:12.0pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'><o:p> </o:p></span></font></p>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>On Thu, Feb 11, 2010 at 10:41 PM, Jonas Sicking
<jonas@sicking.cc> wrote:<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Though what we want here is a DONTDELAYLOAD attribute. I.e. we want<br>
load to start asap, but we don't want the load to hold up the load<br>
event if all other resources finish loading before this one.<br>
<font color="#888888"><span style='color:#888888'><br>
/ Jonas</span></font><o:p></o:p></span></font></p>
<div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><br>
On Thu, Feb 11, 2010 at 10:23 PM, <st1:PersonName w:st="on">Steve Souders</st1:PersonName>
<<a href="mailto:whatwg@souders.org">whatwg@souders.org</a>> wrote:<br>
> I just sent email last week proposing a POSTONLOAD attribute for scripts.<br>
><br>
> -Steve<br>
><br>
> On 2/10/2010 5:18 PM, Jonas Sicking wrote:<br>
>><br>
>> On Fri, Nov 6, 2009 at 4:22 PM, Brian Kuhn<<a
href="mailto:bnkuhn@gmail.com">bnkuhn@gmail.com</a>> wrote:<br>
>><br>
>>><br>
>>> No one has any thoughts on this?<br>
>>> It seems to me that the purpose of async scripts is to get out of
the way<br>
>>> of<br>
>>> user-visible functionality. Many sites currently attach
user-visible<br>
>>> functionality to window.onload, so it would be great if async
scripts at<br>
>>> least had a way to not block that event. It would help
minimize the<br>
>>> affect<br>
>>> that secondary-functionality like ads and web analytics have on
the user<br>
>>> experience.<br>
>>> -Brian<br>
>>><br>
>><br>
>> I'm concerned that this is too big of a departure from how people are<br>
>> used to<script>s behaving.<br>
>><br>
>> If we do want to do something like this, one possibility would be to<br>
>> create a generic attribute that can go on things
like<img>,<link<br>
>> rel=stylesheet>,<script> etc that make the resource not
block the<br>
>> 'load' event.<br>
>><br>
>> / Jonas<br>
>><br>
><o:p></o:p></span></font></p>
</div>
</div>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
</div>
</div>
</div>
</body>
</html>