Open Bug 1896552 Opened 7 months ago Updated 6 months ago

Add some tests for slots of shadow DOM to pointerevent_pointer_boundary_events_after_removing_last_over_element.html

Categories

(Core :: DOM: Events, task)

task

Tracking

()

People

(Reporter: masayuki, Unassigned)

References

Details

https://github.com/w3c/pointerevents/issues/477#issuecomment-1944176748

Looks like @masayuki-nakano addded this WPT to cover the shadow-dom case: https://github.com/web-platform-tests/wpt/blob/master/pointerevents/pointerevent_pointer_boundary_events_after_removing_last_over_element.html

We still need a WPT for slot elements.

https://github.com/w3c/pointerevents/issues/477#issuecomment-2049162524

I guess there should be tests for removing an assigned node (so removing a light DOM node, which is assigned to a slot), and also test a case where slot has assigned nodes and then the slot itself is removed from shadow DOM.

I could work on this after writing patches for current work.

mustaq may also take a look at the test, so before starting with this, worth to check if something is happening in https://github.com/w3c/pointerevents/issues/477

You need to log in before you can comment on or make changes to this bug.