commit | faff941d8b9972ea1da9de4bc914c90ffd9af43e | [log] [tgz] |
---|---|---|
author | Anders Hartvoll Ruud <andruud@chromium.org> | Thu Mar 23 06:29:05 2023 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Mar 23 06:29:05 2023 |
tree | 8d342d9c21662fef90c9464536ec726d31ab0ab5 | |
parent | a3f95209a438d7c5ed3efdc9a71d5a093ff884e4 [diff] |
[@scope] Reparent child rules during SetPreludeText When StyleRuleScope::SetPreludeText is called, update any kPseudoParent selectors within @scope's body to the new parent rule. Note that we do not need to update <scope-end> (StyleScope::From), because that selector is re-parsed during the creation of the new StyleScope. Note also that StyleRuleScope::SetPreludeText is only used by devtools, hence there is no WPT in this CL. Bug: 1023424 Change-Id: I17ed019c6a557623cee9e1d3f921da9033303d6e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4356949 Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org> Reviewed-by: Steinar H Gunderson <sesse@chromium.org> Cr-Commit-Position: refs/heads/main@{#1121013}
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.