css-lists: counter-* properties update should invalidate ListItemOrdinals
Since r835809, list-items respect to counter-* properties, but we didn't invalidate list-items on updating the properties. LayoutCounter::LayoutObjectStyleChanged(), which is called whenever counter-* properties are changed, invalidates ListItemOrdinal too. * LayoutCounter::LayoutObjectStyleChanged() calls new function ListItemOrdinal::ItemCounterStyleUpdated() * ListItemOrdinal::ItemInsertedOrRemoved() is renamed to ItemUpdated(), and it adds support of inclusive invalidation. * ListItemOrdinal::ItemInsertedOrRemoved() and ItemCounterStyleUpdated() call ItemUpdated(). * counter-set-002.html - Fix the flakiness - Add list-items before/after the updated node Bug: 1157854 Change-Id: I669c2c70f87473d5d863f5f02208eb7fe1a41a55 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2586455Reviewed-by:Oriol Brufau <obrufau@igalia.com> Reviewed-by:
Koji Ishii <kojii@chromium.org> Commit-Queue: Kent Tamura <tkent@chromium.org> Cr-Commit-Position: refs/heads/master@{#836962}
Showing
Please register or sign in to comment