Bug 1518201 - [css-lists] Implement the counter-set property. r=emilio

This commit is contained in:
Mats Palmgren
2019-03-24 23:13:52 +01:00
parent 90ef7826f6
commit fe2fb77357
16 changed files with 130 additions and 49 deletions

View File

@@ -4680,8 +4680,7 @@ void nsCSSFrameConstructor::InitAndRestoreFrame(
RestoreFrameStateFor(aNewFrame, aState.mFrameState);
}
if (aAllowCounters &&
mCounterManager.AddCounterResetsAndIncrements(aNewFrame)) {
if (aAllowCounters && mCounterManager.AddCounterChanges(aNewFrame)) {
CountersDirty();
}
}