commit | a35d5d1dd68bdb4b78dc74de51182f5ac4dda995 | [log] [tgz] |
---|---|---|
author | Anders Hartvoll Ruud <andruud@chromium.org> | Fri Dec 09 09:51:36 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Dec 09 09:51:36 2022 |
tree | 179e9aac28e4fff9b300ce36b4726e3e93034c58 | |
parent | ca519d78796b58014d5fd8a6610240f19b0d2ec6 [diff] |
[container-queries] Start CQ search for :host:part() correctly We are supposed to start the search for container queries at the ultimate originating element, but we did not respect this for :host:part() rules. This is because the first iteration of a for-loop in MatchPseudoPartRules starts with the part_matching_element, which is used as the starting element for the container queries search. To meet the "ultimate originating element" criteria, we should instead start at that element's host. Fixed: 1399539 Change-Id: Icfc4265f5dae083c15a204f78962e8a356312cdc Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4088568 Reviewed-by: Rune Lillesveen <futhark@chromium.org> Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org> Cr-Commit-Position: refs/heads/main@{#1081384}
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.