diff --git a/source b/source index 286e3a15040..c99a44f5eac 100644 --- a/source +++ b/source @@ -15111,13 +15111,15 @@ interface HTMLStyleElement : HTMLElement { complete, or, if the style sheet has no critical subresources, once the style sheet has been parsed and processed, the user agent must, if the loads were successful or there were none, queue a task to fire an event named - load at the style element, or, if one of the style - sheet's critical subresources failed to completely load for any reason (e.g. DNS - error, HTTP 404 response, a connection being prematurely closed, unsupported Content-Type), - queue a task to fire an event named error at the style 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.

+ load at the style element and set the style sheet's + style sheet done flag, or, if one of the style sheet's critical + subresources failed to completely load for any reason (e.g. DNS error, HTTP 404 response, + a connection being prematurely closed, unsupported Content-Type), queue a task to + fire an event named error at the style element and set the style sheet's + style sheet done 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.

The task source for these tasks is the DOM manipulation task source.