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
#56 said "or any of their imports". That's not what the current spec says, though: it disallows @import insertion into the constructed sheet, but allows it into its imports. So the changes that were made didn't really address #56 as filed.
Ohh, I understand now. Can we maybe say something like "If this sheet's parent chain contains at least one sheet whose constructed flag is set, throw exception"?
https://wicg.github.io/construct-stylesheets/#dom-cssstylesheet-insertrule disallows adding an
@import
rule if "constructing flag" is set. Why is this restriction present?In particular, why do we allow adding an
@import
rule to a sheet imported from a sheet with the "constructed flag" but not to the parent sheet itself?The text was updated successfully, but these errors were encountered: