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
Ooh, yeah. And deleteRule shouldn't have the thing about @imports as well. I don't really understand what you meant by " (and fixing this probably requires inserting new bits into the middle of the existing algorithm)"? Since it's an argument to the function, can't we just reference it?
The thing that's an argument to the function is just a string of text, so the thing that parses it has to come before a test of whether it's an @import rule.
The revisions to
insertRule
anddeleteRule
in https://wicg.github.io/construct-stylesheets/index.html#modifying-constructed-stylesheets have a few problems:rule
variable that isn't defined (and fixing this probably requires inserting new bits into the middle of the existing algorithm)insertRule
takes a different number of arguments as the originalThe text was updated successfully, but these errors were encountered: