From e1e23c33424d617d4072dc2d112905681e26fc91 Mon Sep 17 00:00:00 2001
From: Dominic Farolino Style sheets, whether added by a 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
- A style sheet in the context of the Style sheets, whether added by a 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. A style sheet in the context of the The element was created by that 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 Interactions of styling and scripting
- 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.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.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: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.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.
+
+ 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:
Document
's parser.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
From 3758280f0080faefb108dc4b34659616f6b62002 Mon Sep 17 00:00:00 2001
From: Dominic Farolino