[Webkit-unassigned] [Bug 199733] New: Named slot won't work if the the previous slotted element is removed before the name slot

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 11 16:18:52 PDT 2019


https://bugs.webkit.org/show_bug.cgi?id=199733

            Bug ID: 199733
           Summary: Named slot won't work if the the previous slotted
                    element is removed before the name slot
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: DOM
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: timdream at gmail.com

Created attachment 373973

  --> https://bugs.webkit.org/attachment.cgi?id=373973&action=review

test.html

STR:

See test case. There is a while loop does the following twice.

1) append an element to the host and assign a slot name. The slot name is different on each run.
2) create a named slot and append it to the shadow root.
3) assert that the element created is assigned to the slot.
4) remove the element
5) remove the slot

Expected:

The element should be assigned to the slot correctly on both run.

Actual:

On the second run the element is not assigned to the slot.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190711/100c6fbf/attachment.html>


More information about the webkit-unassigned mailing list