Closed Bug 1766825 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 33841 - Add test for universal ::selection in shadow DOM

Categories

(Core :: Layout: Generated Content, Lists, and Counters, task, P4)

task

Tracking

()

RESOLVED FIXED
102 Branch
Tracking Status
firefox102 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 33841 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/33841
Details from upstream follow.

Rune Lillesveen <futhark@chromium.org> wrote:

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/3613343
WPT-Export-Revision: 851f28459f84b04f436e259507551a20735e01ed

Component: web-platform-tests → Layout: Generated Content, Lists, and Counters
Product: Testing → Core
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/16fe7ff12b52
[wpt PR 33841] - Add test for universal ::selection in shadow DOM, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 102 Branch
You need to log in before you can comment on or make changes to this bug.