Skip to content

Commit

Permalink
Set style sheet done in <style> semantics
Browse files Browse the repository at this point in the history
  • Loading branch information
domfarolino committed Sep 25, 2018
1 parent e217ef0 commit 806ba7f
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -15111,13 +15111,15 @@ interface <dfn>HTMLStyleElement</dfn> : <span>HTMLElement</span> {
complete, or, if the style sheet has no <span>critical subresources</span>, once the style sheet
has been parsed and processed, the user agent must, if the loads were successful or there were
none, <span>queue a task</span> to <span data-x="concept-event-fire">fire an event</span> named
<code data-x="event-load">load</code> at the <code>style</code> element, or, if one of the style
sheet's <span>critical subresources</span> failed to completely load for any reason (e.g. DNS
error, HTTP 404 response, a connection being prematurely closed, unsupported Content-Type),
<span>queue a task</span> to <span data-x="concept-event-fire">fire an event</span> named <code
data-x="event-error">error</code> at the <code>style</code> element. Non-network errors in
processing the style sheet or its subresources (e.g. CSS parse errors, PNG decoding errors) are
not failures for the purposes of this paragraph.</p>
<code data-x="event-load">load</code> at the <code>style</code> element and set the style sheet's
<span>style sheet done</span> flag, or, if one of the style sheet's <span>critical
subresources</span> failed to completely load for any reason (e.g. DNS error, HTTP 404 response,
a connection being prematurely closed, unsupported Content-Type), <span>queue a task</span> to
<span data-x="concept-event-fire">fire an event</span> named <code
data-x="event-error">error</code> at the <code>style</code> element and set the style sheet's
<span>style sheet done</span> flag. Non-network errors in processing the style sheet or its
subresources (e.g. CSS parse errors, PNG decoding errors) are not failures for the purposes of
this paragraph.</p>

<p>The <span>task source</span> for these <span data-x="concept-task">tasks</span> is the <span>DOM
manipulation task source</span>.</p>
Expand Down

0 comments on commit 806ba7f

Please sign in to comment.