commit | 52445a4616e86c41eff2ca001ea844befdb5ff39 | [log] [tgz] |
---|---|---|
author | Rune Lillesveen <futhark@chromium.org> | Thu Feb 17 15:46:36 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Feb 17 15:46:36 2022 |
tree | 243ee7947a2d7209812b0c0db053229abb1ef0c1 | |
parent | 511425ef3def9173bf6d1d811229efa9d61fe148 [diff] |
Make sure we have consistent ComputedStyle flat trees An element in the flat tree should never have a ComputedStyle if the flat tree parent does not have one. When doing slot re-assignments we could end up having ComputedStyle on a host child which was moved from a slot which was part of the rendered flat tree into a slot that was either in a display:none subtree or even outside the flat tree because of another host ancestor without a slot in its shadow tree. Make sure we clear the ComputedStyle, detach the layout tree, and clear dirty bits in such cases. Bug: 1282460 Change-Id: I8c3280f7ee580d6197ce8f5507150177639143d1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3468706 Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org> Commit-Queue: Rune Lillesveen <futhark@chromium.org> Cr-Commit-Position: refs/heads/main@{#972454}
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.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
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.
If you found a bug, please file it at https://crbug.com/new.