Bug
1717927 [wpt PR 29466] - Highlight API: Convert HighlightRegistry to a maplike, a=testonly
Automatic update from web-platform-tests
Highlight API: Convert HighlightRegistry to a maplike
Making some updates to the implementation because the specs changed
https://drafts.csswg.org/css-highlight-api-1.
- Convert HighlightRegistry from setlike to maplike.
- Highlight doesn't contain the highlight name anymore.
- HighlightRegistry::setForBinding() doesn't throw anymore when
inserting an existing key again.
Relevant discussion: https://github.com/w3c/csswg-drafts/issues/5910
Bug:
1197739
Change-Id: I24f69b5a09938fcda5af353cbd41899dc736cbf1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/
2980201
Commit-Queue: Fernando Fiori <ffiori@microsoft.com>
Reviewed-by: Sanket Joshi <sajos@microsoft.com>
Reviewed-by: Dan Clark <daniec@microsoft.com>
Reviewed-by: Xianzhu Wang <wangxianzhu@chromium.org>
Reviewed-by: Yoshifumi Inoue <yosin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#897554}
--
wpt-commits:
e06897f89fb3bc2ae7a6a205ce6f08452999e278
wpt-pr: 29466