-
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
Define more exactly when document.styleSheets is updated #696
Comments
Related: when According to #2997 (comment) CSS parsing should be observed atomic, so things will happen in this order
|
https://bugzilla.mozilla.org/show_bug.cgi?id=1673885 changed Gecko behavior here. |
Closes whatwg#7131. The new render-blocking mechanism is used to specify cases where <script> and <link> can be render-blocking in all browsers, but were not according to the spec. This closes whatwg#3355 (although note that whatwg#696 remains open).
As per #4031 (specifically #4031 (comment)) I think this issue can be closed. Everything in #696 (comment) seems to be properly specified in the way that the comment outlines, with the exception of the CSS parsing particulars, which is tracked by #2997 specifically. But the order of all the other steps, including their relation to the hand-wavy CSS rule parsing, looks right to me. I'll close this now, but please re-open if you think I am mistaken. |
https://html.spec.whatwg.org/multipage/semantics.html#link-type-stylesheet
See https://bugzilla.mozilla.org/show_bug.cgi?id=958415#c6 onwards
Also https://www.w3.org/Bugs/Public/show_bug.cgi?id=29464 for the bug on the CSSOM side (I suppose both HTML and CSSOM need to be clearer here).
The text was updated successfully, but these errors were encountered: