-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Increment script-blocking style sheet counter when starting to load critical subresources of a <style> #7470
Conversation
@domenic PTAL I intentionally left it vague how to fetch the critical subresources, following what we are doing for |
<var>element</var>'s <span>node document</span>'s | ||
<span>script-blocking style sheet counter</span> by 1.</p></li> | ||
|
||
<li><p>Wait for the style sheet's <span>critical subresources</span> to finish.</p></li> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this step is a good idea. The caller of this algorithm doesn't do anything after it calls the algorithm, so waiting has no effect.
Instead the appropriate stuff to do after critical subresources finish is handled by the paragraph after this algorithm, starting "Once the attempts to obtain the style sheet's critical subresources, if any, are complete..."
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you mean we just merge the paragraph below into this algorithm?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, just remove this bullet point.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, just need you to join the googlers organization.
Joined |
Fixes #7469
/semantics.html ( diff )