Mark counters dirty if pseudo element is removed
When element is removed, we should check if any of its pseudo elements
had some counter changing style and mark counters dirty in such case.
Bug: 346974104
Change-Id: I0007807c97edae450d92ecf9a5a5440c436019e5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5739191
Reviewed-by: Vladimir Levin vmpstr@chromium.org
Commit-Queue: Daniil Sakhapov sakhapov@chromium.org
Cr-Commit-Position: refs/heads/main@{#1333190}