Open Bug 1221908 Opened 5 years ago Updated 4 years ago

remove rule parameters from nsIDocumentObserver style rule notifications, and coalesce notification methods

Categories

(Core :: CSS Parsing and Computation, defect)

defect
Not set

Tracking

()

Tracking Status
firefox45 --- affected

People

(Reporter: dbaron, Unassigned)

References

Details

In bug 978833 (which makes changes to the notifications), I noticed that:
 (a) no callers use the rule parameters to any of the nsIDocumentObserver::StyleRule* notifications
 (b) I think no callers actually take different actions for the different nsIDocumentObserver::StyleRule* notifications

I think this means that we should remove the parameters and coalesce some or all of the methods.
Though I'm having second thoughts about this, because maybe we *should* be using these parameters.
You need to log in before you can comment on or make changes to this bug.