| commit | bc57da7a7232ad70c10ff8a9254c99ce7b71868e | [log] [tgz] |
|---|---|---|
| author | Mason Freed <masonf@chromium.org> | Thu Oct 12 23:51:40 2023 |
| committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Oct 12 23:51:40 2023 |
| tree | 99395fc807710375c06402520942afa5fd8dfa8a | |
| parent | d206ec0b97721566f2276cc561526956464c5740 [diff] |
Add AttributePart imperative API support See the explainer [1] for details, but this is the start of adding AttributePart support. This CL adds imperative support for constructing an AttributePart: new AttributePart(root,target,localName,automatic,options); For now, only HTML namespace attributes are supported, as there aren't prefix or namespaceURI parameters. The `automatic` parameter controls whether or not the new Part is listed in the return value for getParts(). (Automatic parts are not returned.) [1] https://docs.google.com/document/d/1z0YCj06-LFTWJlR_ayhtCOV2O4cJ5W1fHZbfckFsOdU/edit Bug: 1453291 Change-Id: Ib1f4b31b282f707280fb9da1208c8ea3e3e08f03 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4927874 Reviewed-by: Joey Arhar <jarhar@chromium.org> Commit-Queue: Mason Freed <masonf@chromium.org> Auto-Submit: Mason Freed <masonf@chromium.org> Cr-Commit-Position: refs/heads/main@{#1209163}
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.