Open Bug 1897782 Opened 1 month ago Updated 1 month ago

Removing any <ul> on the page triggers counter updates because of counter-reset: list-item.

Categories

(Core :: Layout: Generated Content, Lists, and Counters, defect, P3)

defect

Tracking

()

People

(Reporter: emilio, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [sp3])

This is the reason why counter updates and so on show up in bug 1850809. This is because of this rule combined with this code-path.

For this particular case (removing a <ul>) there shouldn't be a need to recalc all the counters in the page, it's just wasted work...

Not sure what the best way forward there is tho. Special-casing a reset for the list-item counter doesn't seem great...

Whiteboard: [sp3]
You need to log in before you can comment on or make changes to this bug.