[Webkit-unassigned] [Bug 165617] New: Custom Elements from a different document are not customized when created with innerHTML

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Dec 8 12:28:49 PST 2016


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

            Bug ID: 165617
           Summary: Custom Elements from a different document are not
                    customized when created with innerHTML
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML DOM
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: webkit at keanulee.com
                CC: cdumez at apple.com

If you create a custom element in a different document (e.g. `doc = document.implementation.createHTMLDocument()`) by setting `innerHTML` on a container element in that document, then try to `appendChild` the container element to the current document, the custom element is not customized. Note that it is customized if the custom element was created using `doc.createElement()` instead.

http://jsbin.com/qaqitem/edit?html,output

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


More information about the webkit-unassigned mailing list