commit | 1c61e650b0e4f6f65f1fb89f7d05df4a35e86426 | [log] [tgz] |
---|---|---|
author | Kent Tamura <tkent@chromium.org> | Tue Dec 15 04:37:41 2020 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Dec 15 04:37:41 2020 |
tree | d4a6557077116c6c5c7898759d2ad5ceef1bdea6 | |
parent | 04d941be026b69a94a7a7731ed9fdd525b552c7a [diff] |
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/+/2586455 Reviewed-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}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.