Bug 1838546 [wpt PR 40558] - [EditContext] Limit to valid element types, a=testonly
commit155848dec2a77fbdc93c6a63e1366a9a3a4ad5ad
authorDan Clark <daniec@microsoft.com>
Mon, 19 Jun 2023 20:23:57 +0000 (19 20:23 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Wed, 21 Jun 2023 14:35:32 +0000 (21 14:35 +0000)
treef116e5cfaefdaba585c5fa99041c2d2bbb6bd3c3
parent765333ab0f20bcc412e8001053ac791b43ffc5f2
Bug 1838546 [wpt PR 40558] - [EditContext] Limit to valid element types, a=testonly

Automatic update from web-platform-tests
[EditContext] Limit to valid element types

In https://github.com/w3c/edit-context/issues/19 the Editing WG
resolved that EditContext would support the same element types as
shadow root, plus `<canvas>`.

Update the implementation accordingly. See also the updated
spec at [2].

[1] https://github.com/w3c/edit-context/issues/19
[2] https://w3c.github.io/edit-context/#extensions-to-the-htmlelement-interface

Bug: 999184
Change-Id: I2a8a040a279e14e9b98ece3370acdbdd8c3597ab
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4617146
Reviewed-by: Koji Ishii <kojii@chromium.org>
Reviewed-by: Alex Keng <shihken@microsoft.com>
Commit-Queue: Dan Clark <daniec@microsoft.com>
Cr-Commit-Position: refs/heads/main@{#1158908}

--

wpt-commits: 6388bf5fd752f0735e9bfc71196115c082e2b75e
wpt-pr: 40558
testing/web-platform/tests/editing/edit-context/edit-context-property.tentative.html [new file with mode: 0644]