[Webkit-unassigned] [Bug 192483] New: [Attachment Support] Cloned attachment elements lose their unique identifiers

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Dec 6 16:38:39 PST 2018


            Bug ID: 192483
           Summary: [Attachment Support] Cloned attachment elements lose
                    their unique identifiers
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: wenson_hsieh at apple.com

When using cloneNode() to clone an attachment element, the resulting attachment element's `uniqueIdentifier` will be the empty string, rather than the original attachment element's unique identifier. Currently, WebKit clients (e.g. Mail) work around this by saving the original attachment's unique identifier to a temporary attribute prior to cloning.

Ideally, clients shouldn't need to hack around this for nodes that never appear in the document, since the attachment unique identifier is only guaranteed to uniquely identify attachment elements that are connected to the document.

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/20181207/00ee1df0/attachment.html>

More information about the webkit-unassigned mailing list