do i know any devs at mozilla/chrome/IE who can talk to me about perf characteristics around CSS's `insertRule(..)` and `deleteRule(..)`?
3
1
@getify In Gecko they'll force us to rerun all cascading + selector matching (slow!), but should coalesce well. (Better if scoped style.)
2
@davidbaron my goal is to update/replace rules, not create new ones. sounds like there's no way to "tell" gecko that?
1
@getify Do they have the same selectors? If so, can you manipulate the declaration instead? If not, we have to do all that work.
2
@getify Actually, though, manipulating the declaration doesn't get you anything faster. (Though, potentially, it could in the future.)
Dec 13, 2014 · 6:11 AM UTC
2

