You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Define more exactly when document.styleSheets is updated #696
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.
Activity
TakayoshiKochi commentedon Jul 5, 2018
Related: when
.sheetproperty for both<style>and<link rel=stylesheet>becomes available is unclear.According to #2997 (comment) CSS parsing should be observed atomic, so things will happen in this order
CSSStyleSheetobject is ready (including cssRules being populated).sheetis associated with the objectdocument.styleSheetsreflects the objectloadorerrorevent is fired against its owner nodeemilio commentedon Nov 18, 2020
https://bugzilla.mozilla.org/show_bug.cgi?id=1673885 changed Gecko behavior here.
Add the render-blocking mechanism and blocking=render attribute
Add the render-blocking mechanism and blocking=render attribute
domfarolino commentedon Nov 26, 2022
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.