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
revisions to insertRule and deleteRule have algorithmic definitions that don't quite work #68
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.
Activity
dbaron commentedon Dec 12, 2018
(I got here from w3ctag/design-reviews#308.)
rakina commentedon Dec 12, 2018
Ooh, yeah. And
deleteRuleshouldn'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?dbaron commentedon Dec 12, 2018
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
@importrule.