commit | b1cadc00d4f06846f7c426f66ee4a49e6a543177 | [log] [tgz] |
---|---|---|
author | Rune Lillesveen <[email protected]> | Tue Aug 06 17:10:43 2019 |
committer | Commit Bot <[email protected]> | Tue Aug 06 17:10:43 2019 |
tree | 372d188718306e976d1d63ad47bcb072136530c3 | |
parent | 7d16814f35aaa3cddfb62d935c5350730aedf79b [diff] |
Don't force pseudo element recalc based on pseudo element dirtiness. If we need to recalculate style for a pseudo element, we forced it through the StyleRecalcChange passed in, even if the only reason was that the pseudo element itself was style dirty. The problem with that is that it would look like an ancestor change made the recalc necessary. If an ancestor change made it necessary we could not use the optimized base computed style path for style recalc. Make sure we only translate kUpdatePseudoElements into kRecalcChildren and still benefit from base computed style if the incoming StyleRecalcChange propagation is kNo. Bug: 988834 Change-Id: Ib2efcd6a932623bfec6226512eb3692418c84928 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1738559 Reviewed-by: Robert Flack <[email protected]> Commit-Queue: Rune Lillesveen <[email protected]> Cr-Commit-Position: refs/heads/master@{#684390}
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 .