Bug 1766825 [wpt PR 33841] - Add test for universal ::selection in shadow DOM, a...
commit729eb7c4d50b69c52a8354349cb026a9ac1f84f5
authorRune Lillesveen <futhark@chromium.org>
Sat, 7 May 2022 11:38:17 +0000 (7 11:38 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Sun, 15 May 2022 20:20:51 +0000 (15 20:20 +0000)
treeee193d40c9d2c42eb1cb5b2f88c95a3b32b84748
parent0aed036c6628d0af66238ab4f70aa78d0def36f2
Bug 1766825 [wpt PR 33841] - Add test for universal ::selection in shadow DOM, a=testonly

Automatic update from web-platform-tests
Add test for universal ::selection in shadow DOM

We are doing some optimizations for universal ::selection with
HighlightInheritance enabled. Universal ::selection styles cannot
easily be shared between elements in different shadow trees. Add a test
to make sure we do not regress for those cases.

Change-Id: I4d6c82d0ed52e7955b9cc7fb597df1999f9bec6a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3613343
Reviewed-by: Delan Azabani <dazabani@igalia.com>
Commit-Queue: Rune Lillesveen <futhark@chromium.org>
Cr-Commit-Position: refs/heads/main@{#997239}

--

wpt-commits: 5f8966457c6f2a45fa7eea7d83d920a855e1b9b4
wpt-pr: 33841
testing/web-platform/tests/css/css-pseudo/selection-universal-shadow-dom.html [new file with mode: 0644]