[whatwg] style sheet blocking scripts
tali garsiel
t_garsiel at hotmail.com
Thu Dec 10 12:47:38 PST 2009
I understand now. Thank you for your answers.
From: hyatt at apple.com
Date: Thu, 10 Dec 2009 12:15:50 -0600
To: jamesr at google.com
CC: whatwg at whatwg.org; bzbarsky at mit.edu; ian at hixie.ch; t_garsiel at hotmail.com
Subject: Re: [whatwg] style sheet blocking scripts
On Dec 9, 2009, at 4:10 PM, James Robinson wrote:2009/12/9 tali garsiel <t_garsiel at hotmail.com>
Well, not completely.Regarding the first question- Webkit guys told me (on their IRC channel) that the don't block the parser and only block scripts that request visual information, so I'm still confused.
Here's my understanding of the implementation inside WebKit currently:During parsing, WebKit does not block the parser on stylesheet loads, but does block external scripts from running until previously-encountered stylesheets have loaded. WebKit does not suspend script execution on requests for visual information if stylesheets have not loaded (for example for inline scripts or in the case of stylesheets added dynamically after parsing has completed). WebKit does suspend parsing of the document on script loads, but has a speculative preloader to attempt to start fetches for resources past the <script> tag.
- James
This is accurate, although I'd add that we consider it a bug that we don't yet block the parser for inline scripts in addition to external scripts.
dave
_________________________________________________________________
Windows Live: Make it easier for your friends to see what you’re up to on Facebook.
http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_2:092009
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20091210/24560596/attachment-0002.htm>
More information about the whatwg
mailing list