Bug
1858247 [wpt PR 42465] - Add AttributePart imperative API support, a=testonly
Automatic update from web-platform-tests
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}
--
wpt-commits:
fe313fe119f937541d206d1a83e1aabef18a108b
wpt-pr: 42465