Counters: Only update ancestors if style boundary is crossed.
This patch is an optimization patch that ensures that we only update ancestor counters if we have crossed a style containment boundary. The update is required since otherwise counters and content fields that are separated by a style boundary don't behave correctly (we elide updating counters if there is no content present; and then we stop updates when they cross a style boundary). However, this update is only needed on the other side of the containment boundary (and indeed if there is a style containment boundary). R=chrishtr@chromium.org, futhark@chromium.org Bug: 1112978 Change-Id: I19e2e2c6132f1203c90a1e86a32a748a81066bd2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2363252Reviewed-by:Chris Harrelson <chrishtr@chromium.org> Commit-Queue: vmpstr <vmpstr@chromium.org> Cr-Commit-Position: refs/heads/master@{#799231}
Showing
Please register or sign in to comment