diff --git a/source b/source index 38faf31d6e4..286e3a15040 100644 --- a/source +++ b/source @@ -15169,19 +15169,27 @@ interface HTMLStyleElement : HTMLElement {
Style sheets, whether added by a link
element, a style
element, an
- <?xml-stylesheet?>
PI, an HTTP `Link
` header, or
- some other mechanism, have a style sheet ready flag, which is initially unset.
When a style sheet is ready to be applied, its style sheet ready flag must be set.
- If the style sheet referenced no other resources (e.g. it was an internal style sheet given by a
- style
element with no @import
rules), then the style rules must
- be immediately made available to script; otherwise, the style rules must only be made available
- to script once the event loop reaches its update the rendering step.
A style sheet in the context of the Document
of an HTML parser or
- XML parser is said to be a style sheet that is blocking scripts if all of
- the following conditions occur:
Style sheets, whether added by a link
+ element, a style
element, an <?xml-stylesheet?>
PI, an HTTP
+ `Link
` header, or some other mechanism, have a style sheet
+ done flag, which is initially unset. When a style sheet is ready to be applied, its
+ style sheet done flag must be set.
The style sheet done flag is used to indicate when a style sheet has + been obtained, if necessary, and is ready to be applied. The purpose of this is to make a + style sheet that is blocking scripts no longer a style sheet of this category, so that + scripting is no longer blocked. The algorithm that creates and applies the style sheet is + responsible for setting this flag.
+ + If the style sheet referenced no other resources (e.g., + it was an internal style sheet given by astyle
element with no
+ @import
rules), then the style rules must be immediately made
+ available to script; otherwise, the style rules must only be made available to script once the
+ event loop reaches its update the rendering step.
+
+ A style sheet in the context of the Document
+ of an HTML parser or XML parser is said to be a style sheet that is
+ blocking scripts if all of the following conditions occur:
The element was created by that Document
's parser.
The element's style sheet was enabled when the element was created by the parser.
The element's style sheet ready flag is not yet set.
The element's style sheet done flag is not yet set.
The last time the event loop reached step 1, the
element's root was that Document
.
The specified resource is a CSS style sheet that describes how to present the document.
+The specified resource is a CSS style sheet that describes how to present the + document.
If the alternate
keyword is also specified on the
link
element, then the link is an