commit | c1561689f0ccd51869fa2559e9786f2902f91f84 | [log] [tgz] |
---|---|---|
author | Byungwoo Lee <blee@igalia.com> | Thu Mar 20 11:53:22 2025 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Mar 20 11:53:22 2025 |
tree | e7e6d4f9bdfa12e57f44a2121ebfbd04c7dff56a | |
parent | 1dd880955d82e5ef2e4d8617b34e1c737c7379d2 [diff] |
Set all :has() in compound match in shadow tree if compound contains :host To fix :has():host case, 'CSSSelectorParser' collects :has() pseudos in a compound during consuming simple selectors in 'ConsumeCompoundSelector()', and set the 'HasArgumentMatchInShadowTree' flag on the collected :has() pseudos if the parser found a :host pseudo in the compound. Bug: 378584792 Change-Id: I423ebf1128aed75f0b37024736a27f03de007607 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6365595 Commit-Queue: Byungwoo Lee <blee@igalia.com> Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org> Cr-Commit-Position: refs/heads/main@{#1435333}
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.