Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mark the outmost dirty style containment scope only if it has changed
During the creation of the style containment scope the ancestors are created on the fly and are marked as outmost dirty in such cases. But that's not correct as if nothing is changed in the new ancestor, we don't need to update the outmost dirty scope. Dirtying parent style containment scopes outside a size query container during layout leads to modifying the layout box tree outside the query container which is not allowed. Bug: 1505164 Change-Id: Ic267a863201223d1b3c669ae5216c1eef7dddff7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5075697 Reviewed-by: Rune Lillesveen <[email protected]> Commit-Queue: Daniil Sakhapov <[email protected]> Cr-Commit-Position: refs/heads/main@{#1231862}
- Loading branch information