[Webkit-unassigned] [Bug 189934] New: No DOM API to instantiate an attachment for an img element

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Sep 24 15:42:14 PDT 2018


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

            Bug ID: 189934
           Summary: No DOM API to instantiate an attachment for an img
                    element
           Product: WebKit
           Version: Other
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML Editing
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mitz at webkit.org
                CC: wenson_hsieh at apple.com

Given an img element that’s not backed by an attachment, there’s currently no way to get it to be backed by an attachment. It would be useful to have a function on HTMLImageElement that one could call from JavaScript that would create a new attachment element, then call HTMLImageElement::setAttachmentElement to associate the attachment with the img. The caller could then use webkitAttachmentIdentifier to get the unique identifier of the attachment that’s been created.

-- 
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/20180924/d4263f43/attachment-0001.html>


More information about the webkit-unassigned mailing list